Definition at line 357 of file PathRouter.php.
◆ callback()
PathRouterPatternReplacer::callback |
( |
|
$m | ) |
|
|
protected |
◆ replace()
PathRouterPatternReplacer::replace |
( |
|
$value | ) |
|
Replace keys inside path router patterns with text.
We do this inside of a replacement callback because after replacement we can't tell the difference between a $1 that was not replaced and a $1 that was part of the content a $1 was replaced with.
- Parameters
-
- Returns
- string|false
Definition at line 369 of file PathRouter.php.
References $value, and error.
◆ $error
PathRouterPatternReplacer::$error |
◆ $key
PathRouterPatternReplacer::$key |
◆ $params
PathRouterPatternReplacer::$params |
The documentation for this class was generated from the following file: