update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
27
vendor/doctrine/event-manager/src/EventSubscriberRegistry.php
vendored
Normal file
27
vendor/doctrine/event-manager/src/EventSubscriberRegistry.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\Common;
|
||||
|
||||
/**
|
||||
* Interface for registering and unregistering event subscribers.
|
||||
*/
|
||||
interface EventSubscriberRegistry extends EventDispatcher
|
||||
{
|
||||
/**
|
||||
* Adds an EventSubscriber.
|
||||
*
|
||||
* The subscriber is asked for all the events it is interested in and added
|
||||
* as a listener for these events.
|
||||
*/
|
||||
public function addEventSubscriber(EventSubscriber $subscriber): void;
|
||||
|
||||
/**
|
||||
* Removes an EventSubscriber.
|
||||
*
|
||||
* The subscriber is asked for all the events it is interested in and removed
|
||||
* as a listener for these events.
|
||||
*/
|
||||
public function removeEventSubscriber(EventSubscriber $subscriber): void;
|
||||
}
|
||||
Reference in New Issue
Block a user