PHP Class SM\Factory\Factory

Inheritance: extends AbstractFactory
Afficher le fichier Open project: winzou/state-machine Class Usage Examples

Protected Properties

Свойство Type Description
$callbackFactory SM\Callback\CallbackFactoryInterface
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface

Méthodes publiques

Méthode Description
__construct ( array $configs, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher = null, SM\Callback\CallbackFactoryInterface $callbackFactory = null )

Méthodes protégées

Méthode Description
createStateMachine ( $object, array $config ) {@inheritDoc}

Method Details

__construct() public méthode

public __construct ( array $configs, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher = null, SM\Callback\CallbackFactoryInterface $callbackFactory = null )
$configs array
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$callbackFactory SM\Callback\CallbackFactoryInterface

createStateMachine() protected méthode

{@inheritDoc}
protected createStateMachine ( $object, array $config )
$config array

Property Details

$callbackFactory protected_oe property

protected CallbackFactoryInterface,SM\Callback $callbackFactory
Résultat SM\Callback\CallbackFactoryInterface

$dispatcher protected_oe property

protected EventDispatcherInterface,Symfony\Component\EventDispatcher $dispatcher
Résultat Symfony\Component\EventDispatcher\EventDispatcherInterface