public function addPortType($name)
    {
        $portType = $this->dom->createElement('portType');
        $portType->setAttribute('name', $name);
        $this->wsdl->appendChild($portType);

        return $portType;
    }
public function addPortType($name)
    {
        $portType = $this->dom->createElement('portType');
        $portType->setAttribute('name', $name);
        $this->wsdl->appendChild($portType);

        return $portType;
    }
public function addPortType ( $ name ) { $ portType = $ this -> dom -> createElement ( 'portType' ) ; $ portType -> setAttribute ( 'name' , $ name ) ; $ this -> wsdl -> appendChild ( $ portType ) ; return $ portType ; }
Add a portType to element to the WSDL.

@param string $name The name of the portType.
@return DOMElement
Add a portType to element to the WSDL .