public function hasParameter(string $name): bool {
		foreach ($this->parameters as $param) {
			if ($param->getName() == $name) {
				return true;
			}
		}

		return false;
	}
public function hasParameter(string $name): bool {
		foreach ($this->parameters as $param) {
			if ($param->getName() == $name) {
				return true;
			}
		}

		return false;
	}
public function hasParameter ( string $ name ) : bool { foreach ( $ this -> parameters as $ param ) { if ( $ param -> getName ( ) == $ name ) { return true ; } } return false ; }
Checks whether a parameter exists

@param string $name parameter name
@return bool `true` if a parameter exists and `false` if not
Checks whether a parameter exists