Substituted controllers through general layer controller

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

View File

@@ -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);