From cd1f7ea350bb507b79e6b94a04af3572e3d0f3c7 Mon Sep 17 00:00:00 2001 From: Jay Potter Date: Wed, 12 Aug 2026 13:56:42 -0400 Subject: [PATCH] add Behaviour trait --- src/Potter/Event/Behaviour.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Potter/Event/Behaviour.php diff --git a/src/Potter/Event/Behaviour.php b/src/Potter/Event/Behaviour.php new file mode 100644 index 0000000..877bdbf --- /dev/null +++ b/src/Potter/Event/Behaviour.php @@ -0,0 +1,20 @@ +addShared(Dispatcher::class); + } + + private static function addEventBehaviour(Container $container): void + { + self::addDispatcher($container); + } +}