/** * Indicates whether or not a parameter exists. * * @param string $name A parameter name * * @return bool true, if the parameter exists, otherwise false */ public function has($name) { if (array_key_exists($name, $this->parameters)) { return true; } else { return sfToolkit13::hasArrayValueForPath($this->parameters, $name); } return false; }