Phpro\SoapClient\CodeGenerator\Model\Property::getType PHP Method

getType() public method

public getType ( ) : string
return string
    public function getType()
    {
        return $this->type;
    }

Usage Example

 /**
  * @param Property $property
  *
  * @return string
  */
 private function generateGetResultReturnTag(Property $property)
 {
     if ($this->wrapperClass === null) {
         return $property->getType() . '|' . Normalizer::getClassNameFromFQN(ResultInterface::class);
     }
     return Normalizer::getClassNameFromFQN($this->wrapperClass);
 }