From 68609805195c1fdefc2d0f56efbc7e668d10f44b Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Fri, 13 Jun 2025 12:27:39 +0200 Subject: [PATCH] Add an attribute to mark menu builder methods This attribute has no effect in the library itself. It is expected to be used by framework integrations to perform the wiring (if they can). --- src/Knp/Menu/Attribute/AsMenuBuilder.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Knp/Menu/Attribute/AsMenuBuilder.php diff --git a/src/Knp/Menu/Attribute/AsMenuBuilder.php b/src/Knp/Menu/Attribute/AsMenuBuilder.php new file mode 100644 index 00000000..048a9c5d --- /dev/null +++ b/src/Knp/Menu/Attribute/AsMenuBuilder.php @@ -0,0 +1,20 @@ +