Interface Yiisoft\Router\UrlMatcherInterface
| Implemented by | Yiisoft\ |
|---|
UrlMatcherInterface allows finding a matching route given a PSR-8 server request. It is preferred to type-hint
against it in case you need to match URL.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| match() | Yiisoft\ |
Method Details
| public abstract Yiisoft\ | ||
| $request | \ |
|
public function match(ServerRequestInterface $request): MatchingResult;
User Contributed Notes
Leave a comment
Join the conversation to share a note.