public function selectRenderer(ViewEvent $e)
    {
        if ($this->renderer->canRender($e->getModel()->getTemplate())) {
            return $this->renderer;
        }
        return false;
    }
public function selectRenderer(ViewEvent $e)
    {
        if ($this->renderer->canRender($e->getModel()->getTemplate())) {
            return $this->renderer;
        }
        return false;
    }
public function selectRenderer ( ViewEvent $ e ) { if ( $ this -> renderer -> canRender ( $ e -> getModel ( ) -> getTemplate ( ) ) ) { return $ this -> renderer ; } return false ; }
Determine if the renderer can load the requested template.

@param ViewEvent $e
@return bool|TwigRenderer
Determine if the renderer can load the requested template .