src/Generator/Generator.php
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;
    }
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;
    }
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 ; }
Adds Wsdl location
@param Wsdl $wsdl
@param string $schemaLocation
@return Generator
Adds Wsdl location