src/View/TwigStrategy.php
public function selectRender(ViewEvent $e)
    {
        if ($this->isForceRender()) {
            return $this->renderer;
        }

        $model = $e->getModel();
        if ($model instanceof TwigModel) {
            return $this->renderer;
        }

        return null;
    }
public function selectRender(ViewEvent $e)
    {
        if ($this->isForceRender()) {
            return $this->renderer;
        }

        $model = $e->getModel();
        if ($model instanceof TwigModel) {
            return $this->renderer;
        }

        return null;
    }
public function selectRender ( ViewEvent $ e ) { if ( $ this -> isForceRender ( ) ) { return $ this -> renderer ; } $ model = $ e -> getModel ( ) ; if ( $ model instanceof TwigModel ) { return $ this -> renderer ; } return null ; }
@param \Zend\View\ViewEvent $e

@return \Zend\View\Renderer\RendererInterface|null
@param \ Zend \ View \ ViewEvent $e