Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Webiny
Component
Router
Matcher
UrlMatcher
PHP Class Webiny\Component\Router\Matcher\UrlMatcher
Inheritance:
use trait
Webiny\Component\Http\HttpTrait
,
use trait
Webiny\Component\StdLib\StdLibTrait
Afficher le fichier
Open project: Webiny/Framework
Class Usage Examples
Méthodes publiques
Méthode
Description
match
(
UrlObject
$url
) :
array
|
boolean
This method tries to match the given url against the route collection.
Private Methods
Méthode
Description
extractParameters
(
$matches
,
CompiledRoute
$compiledRoute
) :
array
Extracts and matches the parameters with their defined names.
Method Details
match()
public
méthode
If match is successful, an array with callback and params is returned. If match is not successful, false is returned.
public
match
(
UrlObject
$url
) :
array
|
boolean
$url
Webiny\Component\StdLib\StdObject\UrlObject\UrlObject
Résultat
array
|
boolean