Route
in package
Read onlyYes
FinalYes
Tags
Table of Contents
Properties
- $method : string
- $middleware : array<string|int, mixed>
- $name : string|null
- $path : string
Methods
- __construct() : mixed
Attributes
#[Attribute]
#[Attribute]
Properties
$method
public
string
$method
$middleware
public
array<string|int, mixed>
$middleware
= []
$name
public
string|null
$name
= null
$path
public
string
$path
Methods
__construct()
public
__construct(string $method, string $path[, string|null $name = null ][, array<int, string> $middleware = [] ]) : mixed
Parameters
- $method : string
- $path : string
- $name : string|null = null
- $middleware : array<int, string> = []