public function replaceParameters($data)
	{
		//@todo: this mostly repeats core from Supra::buildContainer(). Should we merge it?
		if (is_string($data)) {
			return $this->replaceParametersScalar($data);
		}

		$obj = $this;

		array_walk_recursive($data, function (&$value) use ($obj) {
			if (is_string($value)) {
				$value = $obj->replaceParametersScalar($value);
			}
		});

		return $data;
	}
public function replaceParameters($data)
	{
		//@todo: this mostly repeats core from Supra::buildContainer(). Should we merge it?
		if (is_string($data)) {
			return $this->replaceParametersScalar($data);
		}

		$obj = $this;

		array_walk_recursive($data, function (&$value) use ($obj) {
			if (is_string($value)) {
				$value = $obj->replaceParametersScalar($value);
			}
		});

		return $data;
	}
public function replaceParameters ( $ data ) { //@todo: this mostly repeats core from Supra::buildContainer(). Should we merge it? if ( is_string ( $ data ) ) { return $ this -> replaceParametersScalar ( $ data ) ; } $ obj = $ this ; array_walk_recursive ( $ data , function ( & $ value ) use ( $ obj ) { if ( is_string ( $ value ) ) { $ value = $ obj -> replaceParametersScalar ( $ value ) ; } } ) ; return $ data ; }
Replaces %param.name% -> param.value in a given array

@param array $data
@return array|string
Replaces %param . name% - > param . value in a given array