SM\Factory\Factory::__construct PHP Method

__construct() public method

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
    public function __construct(array $configs, EventDispatcherInterface $dispatcher = null, CallbackFactoryInterface $callbackFactory = null)
    {
        parent::__construct($configs);
        $this->dispatcher = $dispatcher;
        $this->callbackFactory = $callbackFactory;
    }