-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathRoute.php
More file actions
50 lines (41 loc) · 1.19 KB
/
Copy pathRoute.php
File metadata and controls
50 lines (41 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
namespace FeatherBB\Core\Interfaces;
class Route extends SlimSugar
{
public static function map()
{
return call_user_func_array([static::$slim, 'map'], func_get_args());
}
public static function get()
{
return call_user_func_array([static::$slim, 'get'], func_get_args());
}
public static function post()
{
return call_user_func_array([static::$slim, 'post'], func_get_args());
}
public static function put()
{
return call_user_func_array([static::$slim, 'put'], func_get_args());
}
public static function patch()
{
return call_user_func_array([static::$slim, 'patch'], func_get_args());
}
public static function delete()
{
return call_user_func_array([static::$slim, 'delete'], func_get_args());
}
public static function options()
{
return call_user_func_array([static::$slim, 'options'], func_get_args());
}
public static function group()
{
return call_user_func_array([static::$slim, 'group'], func_get_args());
}
public static function any()
{
return call_user_func_array([static::$slim, 'any'], func_get_args());
}
}