From 45e4d9239cd2d70380cd2d0de2e5c0d47b153f2d Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Fri, 31 Oct 2025 08:55:45 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B08772=20-=20automatic=20dependency=20in?= =?UTF-8?q?=20controller=20WIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/Forms/FormBuilder/FormBuilder.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sources/Forms/FormBuilder/FormBuilder.php b/sources/Forms/FormBuilder/FormBuilder.php index 1a3a66e24..4b2c4d7b8 100644 --- a/sources/Forms/FormBuilder/FormBuilder.php +++ b/sources/Forms/FormBuilder/FormBuilder.php @@ -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