imbo/imbo — pull request #112 by christeredvartsen (2012-11-08 09:17:27+00:00)
Title: Alternate way of specifying event listeners in the configuration

This PR implements support for specifying instances of event listeners in the configuration without having to wrap them in another array with a listener key.

Both these examples will now do the same:

```php
array(
array(
'listener' => new EventListener\Authenticate(),
),
),
);
```

and

```php
array(
new EventListener\Authenticate(),
),
);
```