zendframework/zf2 — pull request #582 by Morf (2011-11-10 12:00:28+00:00)
Title: Init method is not called at helpers being loading via PluginClassLoader

```php
/** @var $front \Zend\Controller\Front */
$front = $this->getResource('FrontController');
/** @var $helperBroker \Zend\Controller\Action\HelperBroker*/
$helperBroker = $front->getHelperBroker();
/** @var $classLoader \Zend\Loader\PluginClassLoader */
$classLoader = $helperBroker->getClassLoader();
```

In controller action

```php
$test = $this->broker('test');
$test->test();
```

If

```php
$helperBroker->register('test', new \Site\Test);
````

\Site\Test::init method is called, but if

```
$classLoader->registerPlugin('test', '\Site\Test');
```

not called