setReturnType() public method

Set the retrun type
public setReturnType ( $returnType ) : Method
return Method
 /**
  * @see \WsdlToPhp\PackageGenerator\Parser\Wsdl\AbstractTagOutputOutputParser::setKnownType()
  * @return TagOutput
  */
 protected function setKnownType(Method $method, $knownType)
 {
     $method->setReturnType($knownType);
     return $this;
 }