private function parameterToArray(Parameter $parameter) { return array($parameter->getName(), $parameter->getType(), $parameter->getValue()); }