weierophinney/PhlyRestfully — pull request #38 by macnibblet (2013-03-29 12:52:31+00:00)
Title: [WIP] Passing event parameters #35

Example usage of this would be
```php
$controller = new RestResourceController();
$controller->getEventManager()->attach('getList.pre', function(Event $e) {

/**
* @var $target \PhlyRestfully\ResourceController
*/
$target = $e->getTarget();
$request = $target->getRequest();

$resource = $target->getResource();
$resource->setEventParams(array(
'range' => $request->getQuery('range', false)
));
});
```