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\Core\Actions;
3
4use Apie\Core\Entities\EntityInterface;
5use Apie\Core\Lists\StringList;
6use ReflectionClass;
7use ReflectionMethod;
8
9interface MethodActionInterface extends ActionInterface
10{
11    public static function getRouteAttributes(ReflectionClass $class, ?ReflectionMethod $method = null): array;
12    public static function getDescription(ReflectionClass $class, ?ReflectionMethod $method = null): string;
13    public static function getInputType(ReflectionClass $class, ?ReflectionMethod $method = null): ReflectionMethod;
14    /**
15     * @template T of EntityInterface
16     * @param ReflectionClass<T> $class
17     * @return ReflectionMethod|ReflectionClass<T>
18     */
19    public static function getOutputType(ReflectionClass $class, ?ReflectionMethod $method = null): ReflectionMethod|ReflectionClass;
20    public static function getPossibleActionResponseStatuses(?ReflectionMethod $method = null): ActionResponseStatusList;
21    public static function getTags(ReflectionClass $class, ?ReflectionMethod $method = null): StringList;
22}