Exemple #1
0
 /**
  * Set the callback for when a route is not found.
  *
  * @param string $callback  The static method or function callback for 404s
  * @return object  The Moor instance for chaining
  **/
 public static function setNotFoundCallback($callback)
 {
     self::$not_found_callback = $callback;
     return self::getInstance();
 }