All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
22 lines
496 B
PHP
22 lines
496 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Doctrine\Common;
|
|
|
|
/**
|
|
* An EventSubscriber knows what events it is interested in.
|
|
* If an EventSubscriber is added to an EventManager, the manager invokes
|
|
* {@link getSubscribedEvents} and registers the subscriber as a listener for all
|
|
* returned events.
|
|
*/
|
|
interface EventSubscriber
|
|
{
|
|
/**
|
|
* Returns an array of events this subscriber wants to listen to.
|
|
*
|
|
* @return string[]
|
|
*/
|
|
public function getSubscribedEvents();
|
|
}
|