Esempio n. 1
0
 /**
  * Detach an event. Default hook-points are:
  *
  *   app.init
  *   app.route.pre
  *   app.route.post
  *   app.dispatch.pre
  *   app.dispatch.post
  *   app.error
  *
  * @param  string $name
  * @param  mixed  $action
  * @return Application
  */
 public function off($name, $action)
 {
     $this->events->off($name, $action);
     return $this;
 }