TIC\TwigBundle\Traits\ControllerViewable::getView
Raccourci pour retourner la vue associée par défaut à l'action du controlleur.
Exemples: 'demo_pizza/index.html.twig' 'admin/demo_pizza/index.html.twig' '@TICDemo/crud_object/index.html.twig'
Signature
protected function getView([string
$page = NULL,
[string
$type = NULL]] )
Parameters
$page— string- Nom de base du template Twig (voir $defaultViewPage)
$type— string- Suffixe du type du template (voir $defaultViewType)
Returns
- string