GraphAware\Neo4j\Client\Connection\Connection::getDriver PHP 메소드

getDriver() 공개 메소드

public getDriver ( ) : GraphAware\Common\Driver\DriverInterface
리턴 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());
 }