Classes
RouteDescriber
in package
implements
DescriberInterface, ModelRegistryAwareInterface
Uses
ModelRegistryAwareTrait
Interfaces, Classes and Traits
Table of Contents
- $controllerReflector : mixed
- $modelRegistry : ModelRegistry
- $routeCollection : mixed
- $routeDescribers : mixed
- __construct() : mixed
- describe() : mixed
- setModelRegistry() : mixed
Properties
$controllerReflector
private
mixed
$controllerReflector
$modelRegistry
private
ModelRegistry
$modelRegistry
$routeCollection
private
mixed
$routeCollection
$routeDescribers
private
mixed
$routeDescribers
Methods
__construct()
public
__construct(RouteCollection $routeCollection, ControllerReflector $controllerReflector, array<string|int, RouteDescriberInterface>|iteratable<string|int, mixed> $routeDescribers) : mixed
Parameters
- $routeCollection : RouteCollection
- $controllerReflector : ControllerReflector
- $routeDescribers : array<string|int, RouteDescriberInterface>|iteratable<string|int, mixed>
Return values
mixed —describe()
public
describe(OpenApi $api) : mixed
Parameters
- $api : OpenApi
Return values
mixed —setModelRegistry()
public
setModelRegistry(ModelRegistry $modelRegistry) : mixed
Parameters
- $modelRegistry : ModelRegistry