mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 17:22:08 +00:00
Substituted controllers through general layer controller
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user