$parameters
$parameters : array
Array of route parameters.
Route class.
The Route
class represents an individual route in the routing system.
__construct(string $method, string $path, mixed $handler, string|null $name = null) : void
Route class constructor.
string | $method | Holds the HTTP method associated with the route. |
string | $path | Holds the path pattern for the route. |
mixed | $handler | Holds the handler for the route. |
string|null | $name | Holds the route name or null. |