zendframework/zf2 — pull request #6615 by SwissEngine (2014-08-30 14:03:37+00:00)
Title: Add controller's implemented interfaces to event manager identifiers

Apparently, from the shared manager, it is not possible to attach a callback to a controller (dispatch event) from an interface id it implements.

I simply added the list of the implemented classes to the identifiers. This adds the possibility to do this:

```php
// Module.php - this was never triggered
$eventManager->getSharedManager()->attach(LambdaControllerInterface::class, 'dispatch', [
$this, 'myCallback'
]);

// MyController.php
class MyController extends AbstractActionController implements LambdaControllerInterface
{
}
```

I am not an expert on the event managers, waiting for some feedback before adding some tests.