Example #1
0
 /**
  * Creates a route that listens to all supported.
  *
  * @param string $routeStr
  * @param array  $info
  */
 public static function all(string $routeStr, array $info)
 {
     $methods = Request::getValidMethods();
     self::create($methods, $routeStr, $info);
 }