Mark new event and eventdispatcher classes as internal

This commit is contained in:
Art4 2025-01-27 15:10:04 +00:00 committed by Hypolite Petovan
parent 9e6f77c4b1
commit 2e660f44f2
6 changed files with 12 additions and 0 deletions

View file

@ -11,6 +11,8 @@ namespace Friendica\Event;
/** /**
* One-way Event to inform listener about something happend. * One-way Event to inform listener about something happend.
*
* @internal
*/ */
final class Event implements NamedEvent final class Event implements NamedEvent
{ {

View file

@ -13,6 +13,8 @@ use Symfony\Component\EventDispatcher\EventDispatcher as SymfonyEventDispatcher;
/** /**
* Modified Event Dispatcher. * Modified Event Dispatcher.
*
* @internal
*/ */
final class EventDispatcher extends SymfonyEventDispatcher final class EventDispatcher extends SymfonyEventDispatcher
{ {

View file

@ -11,6 +11,8 @@ namespace Friendica\Event;
/** /**
* Allow Event listener to modify HTML. * Allow Event listener to modify HTML.
*
* @internal
*/ */
final class HtmlFilterEvent implements NamedEvent final class HtmlFilterEvent implements NamedEvent
{ {

View file

@ -11,6 +11,8 @@ namespace Friendica\Event;
/** /**
* Interface for named events. * Interface for named events.
*
* @internal
*/ */
interface NamedEvent interface NamedEvent
{ {

View file

@ -16,6 +16,8 @@ use Friendica\Event\NamedEvent;
/** /**
* Bridge between the EventDispatcher and the Hook class. * Bridge between the EventDispatcher and the Hook class.
*
* @internal Provides BC
*/ */
final class HookEventBridge implements StaticEventSubscriber final class HookEventBridge implements StaticEventSubscriber
{ {

View file

@ -11,6 +11,8 @@ namespace Friendica\EventSubscriber;
/** /**
* Define events that should be reacted to. * Define events that should be reacted to.
*
* @internal
*/ */
interface StaticEventSubscriber interface StaticEventSubscriber
{ {