* This is in a separate method so that add() can handle the difference between
* a single string $path and an array() $path that contains multiple path
* patterns each with an associated $key to pass on.
* This is in a separate method so that add() can handle the difference between
* a single string $path and an array() $path that contains multiple path
* patterns each with an associated $key to pass on.
*/
protected function doAdd( $path, $params, $options, $key = null ) {
// Make sure all paths start with a /
*/
protected function doAdd( $path, $params, $options, $key = null ) {
// Make sure all paths start with a /
*/
public function addStrict( $path, $params = array(), $options = array() ) {
$options['strict'] = true;
*/
public function addStrict( $path, $params = array(), $options = array() ) {
$options['strict'] = true;
* 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.
* 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.