WsdlToPhp\PackageGenerator\Model\Wsdl::getContent PHP Метод

getContent() публичный Метод

public getContent ( ) : Wsdl
Результат WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Wsdl
    public function getContent()
    {
        return parent::getContent();
    }

Usage Example

Пример #1
0
 /**
  * Adds Wsdl location
  * @param Wsdl $wsdl
  * @param string $schemaLocation
  * @return Generator
  */
 public function addSchemaToWsdl(Wsdl $wsdl, $schemaLocation)
 {
     if (!empty($schemaLocation) && $wsdl->getContent() instanceof WsdlDocument && $wsdl->getContent()->getExternalSchema($schemaLocation) === null) {
         $wsdl->getContent()->addExternalSchema(new Schema($wsdl->getGenerator(), $schemaLocation, $this->getUrlContent($schemaLocation)));
     }
     return $this;
 }