@@ -23,6 +23,9 @@ discard block |
||
23 | 23 | parent::__construct($router); |
24 | 24 | } |
25 | 25 | |
26 | + /** |
|
27 | + * @param string $method |
|
28 | + */ |
|
26 | 29 | protected function getLocaleResourceAction($controller, $method) |
27 | 30 | { |
28 | 31 | return $controller . '@' . $method; |
@@ -33,6 +36,7 @@ discard block |
||
33 | 36 | * @param string $resource: the resource name |
34 | 37 | * @param string $method: the controller method |
35 | 38 | * @param array $options: different options |
39 | + * @param string $method |
|
36 | 40 | * @return string |
37 | 41 | */ |
38 | 42 | protected function getResourceName($resource, $method, $options) |
@@ -63,6 +67,10 @@ discard block |
||
63 | 67 | return $this->localeRouter->get($name, $action, $uris); |
64 | 68 | } |
65 | 69 | |
70 | + /** |
|
71 | + * @param string $base |
|
72 | + * @param string $label |
|
73 | + */ |
|
66 | 74 | protected function getLocaleUris($base, $label, $options) |
67 | 75 | { |
68 | 76 | $uris = []; |