Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Common\Interfaces; |
| 3 | |
| 4 | use Apie\Core\Actions\ActionResponseStatusList; |
| 5 | use Apie\Core\Dto\ListOf; |
| 6 | use Apie\Core\Lists\StringList; |
| 7 | use ReflectionClass; |
| 8 | use ReflectionMethod; |
| 9 | use ReflectionType; |
| 10 | |
| 11 | interface RestApiRouteDefinition extends HasRouteDefinition, HasActionDefinition |
| 12 | { |
| 13 | /** |
| 14 | * @return ReflectionClass<object>|ReflectionMethod|ReflectionType |
| 15 | */ |
| 16 | public function getInputType(): ReflectionClass|ReflectionMethod|ReflectionType; |
| 17 | |
| 18 | /** |
| 19 | * @return ReflectionClass<object>|ReflectionMethod|ReflectionType|ListOf |
| 20 | */ |
| 21 | public function getOutputType(): ReflectionClass|ReflectionMethod|ReflectionType|ListOf; |
| 22 | |
| 23 | public function getPossibleActionResponseStatuses(): ActionResponseStatusList; |
| 24 | |
| 25 | /** |
| 26 | * @return class-string<object> |
| 27 | */ |
| 28 | public function getController(): string; |
| 29 | |
| 30 | public function getDescription(): string; |
| 31 | public function getTags(): StringList; |
| 32 | } |