public function getByName($name) {
		$param = $this->findByName($name);
		if (empty($param)) {
			$param = new Parameter();
			$param->setName($name);
			$this->parameters->add($param);
		}

		return $param;
	}
public function getByName($name) {
		$param = $this->findByName($name);
		if (empty($param)) {
			$param = new Parameter();
			$param->setName($name);
			$this->parameters->add($param);
		}

		return $param;
	}
public function getByName ( $ name ) { $ param = $ this -> findByName ( $ name ) ; if ( empty ( $ param ) ) { $ param = new Parameter ( ) ; $ param -> setName ( $ name ) ; $ this -> parameters -> add ( $ param ) ; } return $ param ; }
Searches for the parameter with the given name. Creates a parameter with the given name
if none exists

@param string $name
@return Parameter
Searches for the parameter with the given name . Creates a parameter with the given name if none exists