PHP Class WsdlToPhp\PackageGenerator\File\Tutorial

Inheritance: extends AbstractFile
Mostra file Open project: wsdltophp/packagegenerator Class Usage Examples

Public Methods

Method Description
addAutoload ( ) : Tutorial
addChild ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $block, string $content ) : Tutorial
addContent ( ) : Tutorial
addMainAnnotationBlock ( ) : Tutorial
writeFile ( ) : integer | boolean

Protected Methods

Method Description
addAnnotationBlock ( string[] | WsdlToPhp\PhpGenerator\Element\PhpAnnotation[] $content ) : Tutorial
addAnnotationBlockFromMethod ( Method $method ) : Tutorial
addAnnotationBlockFromService ( Service $service ) : Tutorial
addContentFromMethod ( string $serviceVariableName, Method $method ) : Tutorial
addContentFromService ( string $serviceVariableName, Service $service ) : Tutorial
addOptions ( ) : Tutorial
addOptionsAnnotationBlock ( ) : Tutorial
addServiceDeclaration ( string $serviceVariableName, Service $service ) : Tutorial
addServiceSoapHeadersDefinition ( string $serviceVariableName, Method $method, array $added ) : string[]
addServiceSoapHeadersDefinitions ( string $serviceVariableName, Service $service ) : Tutorial
getAnnotationBlock ( ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
getMethodParameter ( string $parameterType, string $parameterName = null ) : string
getMethodParameters ( Method $method ) : string

Method Details

addAnnotationBlock() protected method

protected addAnnotationBlock ( string[] | WsdlToPhp\PhpGenerator\Element\PhpAnnotation[] $content ) : Tutorial
$content string[] | WsdlToPhp\PhpGenerator\Element\PhpAnnotation[]
return Tutorial

addAnnotationBlockFromMethod() protected method

protected addAnnotationBlockFromMethod ( Method $method ) : Tutorial
$method WsdlToPhp\PackageGenerator\Model\Method
return Tutorial

addAnnotationBlockFromService() protected method

protected addAnnotationBlockFromService ( Service $service ) : Tutorial
$service WsdlToPhp\PackageGenerator\Model\Service
return Tutorial

addAutoload() public method

public addAutoload ( ) : Tutorial
return Tutorial

addChild() public method

public addChild ( WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock $block, string $content ) : Tutorial
$block WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
$content string
return Tutorial

addContent() public method

public addContent ( ) : Tutorial
return Tutorial

addContentFromMethod() protected method

protected addContentFromMethod ( string $serviceVariableName, Method $method ) : Tutorial
$serviceVariableName string
$method WsdlToPhp\PackageGenerator\Model\Method
return Tutorial

addContentFromService() protected method

protected addContentFromService ( string $serviceVariableName, Service $service ) : Tutorial
$serviceVariableName string
$service WsdlToPhp\PackageGenerator\Model\Service
return Tutorial

addMainAnnotationBlock() public method

public addMainAnnotationBlock ( ) : Tutorial
return Tutorial

addOptions() protected method

protected addOptions ( ) : Tutorial
return Tutorial

addOptionsAnnotationBlock() protected method

protected addOptionsAnnotationBlock ( ) : Tutorial
return Tutorial

addServiceDeclaration() protected method

protected addServiceDeclaration ( string $serviceVariableName, Service $service ) : Tutorial
$serviceVariableName string
$service WsdlToPhp\PackageGenerator\Model\Service
return Tutorial

addServiceSoapHeadersDefinition() protected method

protected addServiceSoapHeadersDefinition ( string $serviceVariableName, Method $method, array $added ) : string[]
$serviceVariableName string
$method WsdlToPhp\PackageGenerator\Model\Method
$added array
return string[]

addServiceSoapHeadersDefinitions() protected method

protected addServiceSoapHeadersDefinitions ( string $serviceVariableName, Service $service ) : Tutorial
$serviceVariableName string
$service WsdlToPhp\PackageGenerator\Model\Service
return Tutorial

getAnnotationBlock() protected method

protected getAnnotationBlock ( ) : WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock
return WsdlToPhp\PhpGenerator\Element\PhpAnnotationBlock

getMethodParameter() protected method

protected getMethodParameter ( string $parameterType, string $parameterName = null ) : string
$parameterType string
$parameterName string
return string

getMethodParameters() protected method

protected getMethodParameters ( Method $method ) : string
$method WsdlToPhp\PackageGenerator\Model\Method
return string

writeFile() public method

See also: WsdlToPhp\PackageGenerator\File\AbstractFile::writeFile()
public writeFile ( ) : integer | boolean
return integer | boolean