PHP Class Yosymfony\Spress\Core\Plugin\PluginManager

Author: Victor Puertas ([email protected])
Afficher le fichier Open project: spress/spress Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( EventDispatcher $eventDispatcher ) Constructor.
callInitialize ( ) Invokes initialize method for each plugin registered.
getPluginCollection ( ) : Yosymfony\Spress\Core\Support\Collection Gets the plugin collection.
tearDown ( ) Releases resources like event listeners.

Private Methods

Méthode Description
addListeners ( Yosymfony\Spress\Core\Plugin\PluginInterface $plugin, Yosymfony\Spress\Core\Plugin\EventSubscriber $subscriber )
removeListeners ( Yosymfony\Spress\Core\Plugin\PluginInterface $plugin, Yosymfony\Spress\Core\Plugin\EventSubscriber $subscriber )

Method Details

__construct() public méthode

Constructor.
public __construct ( EventDispatcher $eventDispatcher )
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcher The event dispatcher

callInitialize() public méthode

Invokes initialize method for each plugin registered.
public callInitialize ( )

getPluginCollection() public méthode

Gets the plugin collection.
public getPluginCollection ( ) : Yosymfony\Spress\Core\Support\Collection
Résultat Yosymfony\Spress\Core\Support\Collection The plugin collection

tearDown() public méthode

Releases resources like event listeners.
public tearDown ( )