src/TwigResolver.php
public function resolve($nameOrModel)
    {
        if ($nameOrModel instanceof View\Model) {
            $nameOrModel = $nameOrModel->getTemplate();
        }
        return $this->twig->loadTemplate($nameOrModel . $this->suffix);
    }
public function resolve($nameOrModel)
    {
        if ($nameOrModel instanceof View\Model) {
            $nameOrModel = $nameOrModel->getTemplate();
        }
        return $this->twig->loadTemplate($nameOrModel . $this->suffix);
    }
public function resolve ( $ nameOrModel ) { if ( $ nameOrModel instanceof View \ Model ) { $ nameOrModel = $ nameOrModel -> getTemplate ( ) ; } return $ this -> twig -> loadTemplate ( $ nameOrModel . $ this -> suffix ) ; }
{@inheritDoc}
{