crud.$section.$action.$entity
crud.$section.$action
crud.$section
If nothing exists, this string is returned: "@crud/.twig"
public getTemplate ( Pimple\Container $app, string $section, string $action, string $entity ) : string | ||
$app | Pimple\Container | the Silex application |
$section | string | the section of the template, either "layout" or "template" |
$action | string | the current calling action like "create" or "show" |
$entity | string | the current calling entity |
return | string | the best fitting template |