protected function findTemplate($name, $throw = null)
    {
        $result = parent::findTemplate($name, false);
        if ($result === false) {
            return __DIR__.'/../Test/Fixtures/twig/empty.twig';
        }
        return $result;
    }
protected function findTemplate($name, $throw = null)
    {
        $result = parent::findTemplate($name, false);
        if ($result === false) {
            return __DIR__.'/../Test/Fixtures/twig/empty.twig';
        }
        return $result;
    }
protected function findTemplate ( $ name , $ throw = null ) { $ result = parent :: findTemplate ( $ name , false ) ; if ( $ result === false ) { return __DIR__ . '/../Test/Fixtures/twig/empty.twig' ; } return $ result ; }
Hacked find template to allow loading templates by absolute path.

@param string $name template name or absolute path
Hacked find template to allow loading templates by absolute path .