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