@@ -79,6 +79,9 @@ |
||
| 79 | 79 | return $list; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | + /** |
|
| 83 | + * @param ApiHandlerInterface $handler |
|
| 84 | + */ |
|
| 82 | 85 | private function createParamsList($handler) |
| 83 | 86 | { |
| 84 | 87 | $paramsList = $handler['handler']->params(); |
@@ -4,8 +4,14 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface ApiAuthorizationInterface |
| 6 | 6 | { |
| 7 | + /** |
|
| 8 | + * @return boolean |
|
| 9 | + */ |
|
| 7 | 10 | public function authorized(); |
| 8 | 11 | |
| 12 | + /** |
|
| 13 | + * @return boolean |
|
| 14 | + */ |
|
| 9 | 15 | public function getErrorMessage(); |
| 10 | 16 | |
| 11 | 17 | // public function getAuthorizedResource(); |
@@ -10,5 +10,8 @@ |
||
| 10 | 10 | |
| 11 | 11 | public function handle($params); |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @return void |
|
| 15 | + */ |
|
| 13 | 16 | public function setEndpointIdentifier(EndpointInterface $endpoint); |
| 14 | 17 | } |
@@ -4,8 +4,14 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface ParamInterface |
| 6 | 6 | { |
| 7 | + /** |
|
| 8 | + * @return boolean |
|
| 9 | + */ |
|
| 7 | 10 | public function isValid(); |
| 8 | 11 | |
| 12 | + /** |
|
| 13 | + * @return string |
|
| 14 | + */ |
|
| 9 | 15 | public function getKey(); |
| 10 | 16 | |
| 11 | 17 | public function getValue(); |