public __construct ( |
||
$connectionManager | ||
$eventDispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface |
public function __construct(ConnectionManager $connectionManager, EventDispatcherInterface $eventDispatcher = null)
{
$this->connectionManager = $connectionManager;
$this->eventDispatcher = null !== $eventDispatcher ? $eventDispatcher : new EventDispatcher();
}