mirror of
https://github.com/friendica/friendica
synced 2025-02-15 11:34:02 +00:00
Mark new event and eventdispatcher classes as internal
This commit is contained in:
parent
9e6f77c4b1
commit
2e660f44f2
6 changed files with 12 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -11,6 +11,8 @@ namespace Friendica\Event;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface for named events.
|
* Interface for named events.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
*/
|
*/
|
||||||
interface NamedEvent
|
interface NamedEvent
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue