mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 10:16:22 +02:00
Refactored source to entity template
This commit is contained in:
parent
b6f7a1e9b8
commit
327818295a
@ -18,6 +18,11 @@ final class MVCRoutineService implements MVCRoutineServiceInterface
|
|||||||
{
|
{
|
||||||
use ActionTypeAttribut;
|
use ActionTypeAttribut;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string The path to the general entity template
|
||||||
|
*/
|
||||||
|
const TWIG_ENTITY_TEMPLATE_PATH = 'entity/entity.html.twig';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var ActionHandlerServiceInterface
|
* @var ActionHandlerServiceInterface
|
||||||
*/
|
*/
|
||||||
@ -49,8 +54,7 @@ final class MVCRoutineService implements MVCRoutineServiceInterface
|
|||||||
private function getView(): View
|
private function getView(): View
|
||||||
{
|
{
|
||||||
$view = View::create();
|
$view = View::create();
|
||||||
$view->setTemplate($this->templateNameService->getMoleculeTemplateName());
|
$view->setTemplate(self::TWIG_ENTITY_TEMPLATE_PATH);
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user