3 ms·
> Injecting the plugin broker for controller plugins into the action controller for use by all controllers that extend it Awesome phrase.
by yaix 15y ago
> Injecting the plugin broker for controller plugins into the action controller for use by all controllers that extend it
Awesome phrase.
- shepik 15y agoAwesome, indeed. What does that mean, though?
- masklinn 15y agoI'm guessing — but that's really a guess with no knowledge of the thing — it's some sort of middleware thingie: the "plugin broker" is used to register plugins, and in this case any controller inheriting from `Zend\Mvc\Controller\ActionController` will get the same broker, therefore all plugins registered into `Zend\Mvc\Controller\PluginBroker`. I'm guessing it also handles calling the right plugins at the right moment in the controller's lifecycle. Something like that.