eZ\Publish\Core\Persistence\Legacy\Tests\HandlerTest::getHandlerFixture PHP Method

getHandlerFixture() protected method

Returns the Handler.
protected getHandlerFixture ( ) : Handler
return eZ\Publish\Core\Persistence\Legacy\Handler
    protected function getHandlerFixture()
    {
        if (!isset(self::$legacyHandler)) {
            $container = $this->getContainer();
            self::$legacyHandler = $container->get('ezpublish.spi.persistence.legacy');
        }
        return self::$legacyHandler;
    }