Optimized EntityDomService

This commit is contained in:
Kevin Frantz
2019-02-25 10:05:42 +01:00
parent 4385e84cc7
commit d0adc9b42a
18 changed files with 109 additions and 17 deletions

View File

@@ -22,7 +22,7 @@ final class MVCRoutineService implements MVCRoutineServiceInterface
* @var string The path to the general entity template
*/
const TWIG_ENTITY_TEMPLATE_PATH = 'entity/entity.html.twig';
/**
* @var ActionHandlerServiceInterface
*/
@@ -55,6 +55,7 @@ final class MVCRoutineService implements MVCRoutineServiceInterface
{
$view = View::create();
$view->setTemplate(self::TWIG_ENTITY_TEMPLATE_PATH);
return $view;
}