public function findByName($name) {
		foreach ($this->parameters as $param) {
			if ($param->getName() == $name) {
				return $param;
			}
		}
	}
public function findByName($name) {
		foreach ($this->parameters as $param) {
			if ($param->getName() == $name) {
				return $param;
			}
		}
	}
public function findByName ( $ name ) { foreach ( $ this -> parameters as $ param ) { if ( $ param -> getName ( ) == $ name ) { return $ param ; } } }
Returns parameter with the given name if it exists

@param string $name
@return Parameter|void
Returns parameter with the given name if it exists