1
0
Fork 0

Add debug output when a plugin is loaded

pull/3804/head
Jordi Boggiano 2015-02-27 14:31:27 +00:00
parent c7b0628d93
commit 45b1f356c2
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,9 @@ class PluginManager
*/
public function addPlugin(PluginInterface $plugin)
{
if ($this->io->isDebug()) {
$this->io->writeError('Loading plugin '.get_class($plugin));
}
$this->plugins[] = $plugin;
$plugin->activate($this->composer, $this->io);