Skip to content

Commit

Permalink
Setup ReflectionBaseClass when accessing event names/classes
Browse files Browse the repository at this point in the history
  • Loading branch information
galeaspablo committed Nov 15, 2024
1 parent c0a5b83 commit 9c4b7e0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ private static function setup(): void
*/
public static function allEventClasses(): array
{
self::setup();

return array_values(self::$eventNamesToEventClasses);
}

Expand All @@ -104,6 +106,8 @@ public static function allEventClasses(): array
*/
public static function allEventNames(): array
{
self::setup();

return array_values(self::$eventClassesToEventNames);
}

Expand Down

0 comments on commit 9c4b7e0

Please sign in to comment.