diff --git a/src/Bundle/ChillPersonBundle/Templating/Entity/PersonRender.php b/src/Bundle/ChillPersonBundle/Templating/Entity/PersonRender.php index c01476b2e..1fcf71486 100644 --- a/src/Bundle/ChillPersonBundle/Templating/Entity/PersonRender.php +++ b/src/Bundle/ChillPersonBundle/Templating/Entity/PersonRender.php @@ -14,6 +14,7 @@ namespace Chill\PersonBundle\Templating\Entity; use Chill\MainBundle\Templating\Entity\AbstractChillEntityRender; use Chill\PersonBundle\Config\ConfigPersonAltNamesHelper; use Chill\PersonBundle\Entity\Person; +use Chill\PersonBundle\Templating\Entity\PersonRenderInterface; use Symfony\Component\Templating\EngineInterface; use Symfony\Contracts\Translation\TranslatorInterface; @@ -22,7 +23,7 @@ use function array_key_exists; /** * Render a Person. */ -class PersonRender extends AbstractChillEntityRender +class PersonRender extends AbstractChillEntityRender implements PersonRenderInterface { private ConfigPersonAltNamesHelper $configAltNamesHelper; diff --git a/src/Bundle/ChillPersonBundle/Templating/Entity/PersonRenderInterface.php b/src/Bundle/ChillPersonBundle/Templating/Entity/PersonRenderInterface.php new file mode 100644 index 000000000..748bf05b7 --- /dev/null +++ b/src/Bundle/ChillPersonBundle/Templating/Entity/PersonRenderInterface.php @@ -0,0 +1,33 @@ +