GraphAware\Neo4j\Client\Client::__construct PHP Method

__construct() public method

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