guidovanbiemen/phrodo — Issue #6: Router not found handling
Author: guidovanbiemen
Created: 2012-03-04 15:58:43+00:00
State: open

The Router should be able to allow custom not-found behavior to be defined.

Something like:
```php
$router->setNotFoundHandler(function() {
throw new \MyApplication\NotFoundException('Page not found!');
});
```