src/Data/ParamBag.php
public function recursiveReplace($search, $replace)
	{
		$json = json_encode($this->params);

		$json = str_replace($search, $replace, $json);

		$this->params = json_decode($json, TRUE);
	}
public function recursiveReplace($search, $replace)
	{
		$json = json_encode($this->params);

		$json = str_replace($search, $replace, $json);

		$this->params = json_decode($json, TRUE);
	}
public function recursiveReplace ( $ search , $ replace ) { $ json = json_encode ( $ this -> params ) ; $ json = str_replace ( $ search , $ replace , $ json ) ; $ this -> params = json_decode ( $ json , TRUE ) ; }
Search and replace function for multi level arrays

@param String $search
@param String $replace
@return void
@author Dan Cox
Search and replace function for multi level arrays