eZ\Publish\Core\Persistence\Legacy\Tests\Content\UrlWildcard\Gateway\DoctrineDatabaseTest::getGateway PHP Method

getGateway() protected method

Returns the DoctrineDatabase gateway to test.
protected getGateway ( ) : DoctrineDatabase
return eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard\Gateway\DoctrineDatabase
    protected function getGateway()
    {
        if (!isset($this->gateway)) {
            $this->gateway = new DoctrineDatabase($this->getDatabaseHandler());
        }
        return $this->gateway;
    }