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
2namespace Apie\Common\Interfaces;
3
4use Apie\Core\Actions\ActionResponseStatusList;
5use Apie\Core\Dto\ListOf;
6use Apie\Core\Lists\StringList;
7use ReflectionClass;
8use ReflectionMethod;
9use ReflectionType;
10
11interface 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}