Beispiel #1
0
 public static function static($path, $resource, $mime, $forceDownload)
 {
     self::register(Route::static($path, $resource, $mime, $forceDownload));
 }
Beispiel #2
0
 public static function static($path, $resource, $mime, $forceDownload)
 {
     $route = new Route($path, null, array("GET"));
     $route->setStatic($resource, $mime, $forceDownload);
     return $route;
 }