class Tutorial extends AbstractFile (View source)

Constants

PHP_FILE_EXTENSION

Properties

protected Generator $generator from AbstractFile
protected PhpFile $file from AbstractFile

Methods

__construct(Generator $generator, string $name)

No description

setGenerator(Generator $generator)

No description

getGenerator()

No description

void
write()

No description

int|bool
writeFile()

No description

string
getFileName()

No description

string
getFileDestination()

No description

string
getFileExtension()

No description

setFile(PhpFile $file)

No description

PhpFile
getFile()

No description

addMainAnnotationBlock()

No description

PhpAnnotationBlock
getAnnotationBlock()

No description

addChild(PhpAnnotationBlock $block, string $content)

No description

addAutoload()

No description

addContent()

No description

addOptions()

No description

addContentFromService(string $serviceVariableName, Service $service)

No description

addServiceDeclaration(string $serviceVariableName, Service $service)

No description

addServiceSoapHeadersDefinitions(string $serviceVariableName, Service $service)

No description

string[]
addServiceSoapHeadersDefinition(string $serviceVariableName, Method $method, array $added)

No description

addAnnotationBlockFromMethod(Method $method)

No description

addContentFromMethod(string $serviceVariableName, Method $method)

No description

string
getMethodParameters(Method $method)

No description

string
getMethodParameter(string $parameterType, string $parameterName = null)

No description

addAnnotationBlock(string[]|PhpAnnotation[] $content)

No description

Details

__construct(Generator $generator, string $name)

Parameters

Generator $generator
string $name

AbstractFile setGenerator(Generator $generator)

Parameters

Generator $generator

Return Value

AbstractFile

Generator getGenerator()

Return Value

Generator

void write()

Return Value

void

int|bool writeFile()

Return Value

int|bool

See also

\WsdlToPhp\PackageGenerator\File\AbstractFile::writeFile()

string getFileName()

Return Value

string

protected string getFileDestination()

Return Value

string

string getFileExtension()

Return Value

string

protected AbstractFile setFile(PhpFile $file)

Parameters

PhpFile $file

Return Value

AbstractFile

PhpFile getFile()

Return Value

PhpFile

Tutorial addMainAnnotationBlock()

Return Value

Tutorial

protected PhpAnnotationBlock getAnnotationBlock()

Return Value

PhpAnnotationBlock

Tutorial addChild(PhpAnnotationBlock $block, string $content)

Parameters

PhpAnnotationBlock $block
string $content

Return Value

Tutorial

Tutorial addAutoload()

Return Value

Tutorial

Tutorial addContent()

Return Value

Tutorial

protected Tutorial addOptionsAnnotationBlock()

Return Value

Tutorial

protected Tutorial addOptions()

Return Value

Tutorial

protected Tutorial addAnnotationBlockFromService(Service $service)

Parameters

Service $service

Return Value

Tutorial

protected Tutorial addContentFromService(string $serviceVariableName, Service $service)

Parameters

string $serviceVariableName
Service $service

Return Value

Tutorial

protected Tutorial addServiceDeclaration(string $serviceVariableName, Service $service)

Parameters

string $serviceVariableName
Service $service

Return Value

Tutorial

protected Tutorial addServiceSoapHeadersDefinitions(string $serviceVariableName, Service $service)

Parameters

string $serviceVariableName
Service $service

Return Value

Tutorial

protected string[] addServiceSoapHeadersDefinition(string $serviceVariableName, Method $method, array $added)

Parameters

string $serviceVariableName
Method $method
array $added

Return Value

string[]

protected Tutorial addAnnotationBlockFromMethod(Method $method)

Parameters

Method $method

Return Value

Tutorial

protected Tutorial addContentFromMethod(string $serviceVariableName, Method $method)

Parameters

string $serviceVariableName
Method $method

Return Value

Tutorial

protected string getMethodParameters(Method $method)

Parameters

Method $method

Return Value

string

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

Parameters

string $parameterType
string $parameterName

Return Value

string

protected Tutorial addAnnotationBlock(string[]|PhpAnnotation[] $content)

Parameters

string[]|PhpAnnotation[] $content

Return Value

Tutorial