RouteAttributeHandler
in package
implements
AttributeHandlerInterface
Handles #[Route] attributes
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $router : RouterInterface
- __construct() : mixed
- attributeClass() : string
- handle() : void
- targets() : array<string|int, mixed>
Properties
$router
private
RouterInterface
$router
Methods
__construct()
public
__construct(RouterInterface $router) : mixed
Parameters
- $router : RouterInterface
Return values
mixed —attributeClass()
public
attributeClass() : string
Return values
string —handle()
public
handle(string $className, mixed $subject, object $attribute) : void
Parameters
- $className : string
- $subject : mixed
- $attribute : object
Return values
void —targets()
public
targets() : array<string|int, mixed>