Neos\Flow\Mvc\View\AbstractView::canRender PHP Méthode

canRender() public méthode

By default we assume that the view implementation can handle all kinds of contexts. Override this method if that is not the case.
public canRender ( ControllerContext $controllerContext ) : boolean
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext
Résultat boolean TRUE if the view has something useful to display, otherwise FALSE
    public function canRender(ControllerContext $controllerContext)
    {
        return true;
    }