getParameterType() 공개 메소드

Returns the parameter type
public getParameterType ( ) : string | string[]
리턴 string | string[]
예제 #1
0
 /**
  * @param MethodModel $method
  * @return string
  */
 protected function getMethodParameters(MethodModel $method)
 {
     $parameters = array();
     if (is_array($method->getParameterType())) {
         foreach ($method->getParameterType() as $parameterName => $parameterType) {
             $parameters[] = $this->getMethodParameter($parameterType, $parameterName);
         }
     } else {
         $parameters[] = $this->getMethodParameter($method->getParameterType());
     }
     return implode(', ', $parameters);
 }
예제 #2
0
 /**
  * @see \WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractTagInputOutputParser::getKnownType()
  * @return array|string
  */
 protected function getKnownType(Method $method)
 {
     return $method->getParameterType();
 }