1 | <?php |
||
9 | class RestfulResourceRegistrar extends ResourceRegistrar |
||
10 | { |
||
11 | |||
12 | |||
13 | public function __construct(Router $router) |
||
20 | |||
21 | /** |
||
22 | * Add the show-extra method for a resourceful route. |
||
23 | * |
||
24 | * @param string $name |
||
25 | * @param string $base |
||
26 | * @param string $controller |
||
27 | * @param mixed[] $options |
||
28 | * @return Route |
||
29 | */ |
||
30 | protected function addResourceShowExtra($name, $base, $controller, $options) |
||
40 | |||
41 | /** |
||
42 | * Add the options method for a resourceful route. |
||
43 | * |
||
44 | * @param string $name |
||
45 | * @param string $base |
||
46 | * @param string $controller |
||
47 | * @param mixed[] $options |
||
48 | * @return Route |
||
49 | */ |
||
50 | protected function addResourceOptions($name, $base, $controller, $options) |
||
58 | } |
||
59 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.