N°8772 - automatic dependency in controller WIP

This commit is contained in:
Eric Espie
2025-10-31 08:55:45 +01:00
parent 0df54413b3
commit 45e4d9239c

View File

@@ -146,6 +146,11 @@ class FormBuilder implements FormBuilderInterface, IteratorAggregate
return $this->oDependencyHandler;
}
public function GetDependencyMap(): ?DependencyMap
{
return $this->oDependencyHandler?->GetMap();
}
// pure decoration of FormBuilderInterface
public function add(string|FormBuilderInterface $child, ?string $type = null, array $options = []): static