Substituted controllers through general layer controller

This commit is contained in:
Kevin Frantz committed 2019-02-24 15:10:25 +01:00
1 parent 724ff63880
commit baf14680fe
6 files changed
+6 -151

No files matched your search

@@ -133,7 +133,7 @@ final class EntityDomService implements EntityDomServiceInterface
/**
* {@inheritdoc}
*
* @see \Infinito\Domain\HtmlManagement\EntityDomServiceInterface::getDomDocument()
* @see \Infinito\Domain\DomManagement\EntityDomServiceInterface::getDomDocument()
*/
public function getDomDocument(EntityInterface $entity): \DOMDocument
{
@@ -147,7 +147,7 @@ final class EntityDomService implements EntityDomServiceInterface
if ($value instanceof Collection) {
foreach ($value as $valueElement) {
$domSubElement = $domElement->createElement('list-element');
$this->mappValue($value, $domSubElement);
$this->mappValue($valueElement, $domSubElement);
}
} else {
$this->mappValue($value, $domElement);