diff --git a/src/EventDispatcher/EventDispatcher.php b/src/EventDispatcher/EventDispatcher.php index 84eef857f..f3d5363bf 100644 --- a/src/EventDispatcher/EventDispatcher.php +++ b/src/EventDispatcher/EventDispatcher.php @@ -44,6 +44,9 @@ public function setListeners(array $listeners): void $this->classListeners = []; } + /** + * @internal Used for profiling + */ public function getListeners(): array { return $this->listeners; diff --git a/src/Handler/HandlerRegistry.php b/src/Handler/HandlerRegistry.php index 352d4431b..1b8ae94ae 100644 --- a/src/Handler/HandlerRegistry.php +++ b/src/Handler/HandlerRegistry.php @@ -77,6 +77,9 @@ public function getHandler(int $direction, string $typeName, string $format) return $this->handlers[$direction][$typeName][$format]; } + /** + * @internal Used for profiling + */ public function getHandlers(): array { return $this->handlers;