_name = 'param'; $this->_type = $matches[2]; if (isset($matches[3])) { $this->_variableName = $matches[3]; } if (isset($matches[4])) { $this->_description = preg_replace('#\s+#', ' ', $matches[4]); } } /** * Get parameter variable type * * @return string */ public function getType() { return $this->_type; } /** * Get parameter name * * @return string */ public function getVariableName() { return $this->_variableName; } }