|
| | replace ($value) |
| | Replace keys inside path router patterns with text. More...
|
| |
Definition at line 357 of file PathRouter.php.
| PathRouterPatternReplacer::callback |
( |
|
$m | ) |
|
|
protected |
| 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
Definition at line 369 of file PathRouter.php.
References $value.
| PathRouterPatternReplacer::$error |
| PathRouterPatternReplacer::$key |
| PathRouterPatternReplacer::$params |
The documentation for this class was generated from the following file: