WsdlToPhp\PackageGenerator\Model\Method::getParameterType PHP Method

getParameterType() public method

Returns the parameter type
public getParameterType ( ) : string | string[]
return string | string[]
    public function getParameterType()
    {
        return $this->parameterType;
    }

Usage Example

Example #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);
 }
All Usage Examples Of WsdlToPhp\PackageGenerator\Model\Method::getParameterType