Page MenuHomeWickedGov Phorge

InitializableDomainEventSubscriber.php
No OneTemporary

Size
720 B
Referenced Files
None
Subscribers
None

InitializableDomainEventSubscriber.php

<?php
namespace MediaWiki\DomainEvent;
/**
* An DomainEventSubscriber that requires initialization with an options array
* after construction.
*
* This is useful when constructing an DomainEventSubscriber from an object spec.
*
* @internal for use by DomainEventSubscriber
*/
interface InitializableDomainEventSubscriber extends DomainEventSubscriber {
/**
* Initializer used to inform the behavior of the registerListeners() method.
* registerListeners() may throw if called before initSubscriber().
*
* The $options array must specify at least the 'event's key, listing
* any events that this subscriber should register events for.
*/
public function initSubscriber( array $options ): void;
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Dec 8, 02:04 (1 d, 17 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b6/fd/a6077b84fb5ac0cc2318bd45d273
Default Alt Text
InitializableDomainEventSubscriber.php (720 B)

Event Timeline