Matched final readonly class
Minn\Http\Matched · public/minn/src/Minn/Http/Matched.php · 15 lines
A route the router matched to a request and whose policy it judged: the route, the object and method that answer it, the pattern's captures, and every method the same handler answers on that pattern (the reference lists POST, PUT and PATCH together for one edit handler).
Used by 3
Constants and properties
| prop | readonly Minn\Http\Route $route | Promoted from the constructor. |
| prop | readonly object $handler | Promoted from the constructor. |
| prop | readonly string $method | Promoted from the constructor. |
| prop | readonly array $captures | Promoted from the constructor. |
| prop | readonly array $methods | Promoted from the constructor. |
Public
| new | __construct(Minn\Http\Route $route, object $handler, string $method, array $captures, array $methods)# |
|
Nothing matches.