Example #1
0
 /**
  * Associate the error handler method with the router.
  * 
  * @param Router $router
  */
 public function boot(Router $router)
 {
     $router->setErrorHandler(array($this, 'handle'));
 }