GraphAware\Neo4j\Client\Connection\Connection::getDriver PHP Method

getDriver() public method

public getDriver ( ) : GraphAware\Common\Driver\DriverInterface
return GraphAware\Common\Driver\DriverInterface
    public function getDriver()
    {
        return $this->driver;
    }

Usage Example

 public function testConnectionInstantiation()
 {
     $connection = new Connection('default', 'http://localhost:7474', null, 5);
     $this->assertInstanceOf(HttpDriver::class, $connection->getDriver());
 }