Generator
class Generator implements JsonSerializable (View source)
Properties
protected Wsdl | $wsdl | Wsdl | |
protected GeneratorOptions | $options | ||
protected GeneratorParsers | $parsers | Used parsers | |
protected GeneratorFiles | $files | Used files | |
protected GeneratorContainers | $containers | Used containers | |
protected GeneratorSoapClient | $soapClient | Used SoapClient |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
Generates all classes based on options
Gets the struct by its name Starting from issue #157, we know call getVirtual secondly as structs are now betterly parsed and so is their inheritance/type is detected
Gets the struct by its name and type
Gets a service by its name
Returns the method
No description
No description
Sets the optionCategory value
Sets the optionCategory value
Sets the optionGatherMethods value
Sets the optionGatherMethods value
Gets the optionGenericConstantsNames value
Sets the optionGenericConstantsNames value
Gets the optionGenerateTutorialFile value
Sets the optionGenerateTutorialFile value
Gets the optionNamespacePrefix value
Sets the optionGenerateTutorialFile value
Gets the optionAddComments value
Sets the optionAddComments value
Gets the optionStandalone value
Sets the optionStandalone value
Gets the optionValidation value
Sets the optionValidation value
Gets the optionStructClass value
Sets the optionStructClass value
Gets the optionStructArrayClass value
Sets the optionStructArrayClass value
Gets the optionSoapClientClass value
Sets the optionSoapClientClass value
Gets the package name prefix
Sets the package name prefix
Gets the package name suffix
Sets the package name suffix
Gets the optionBasicLogin value
Sets the optionBasicLogin value
Gets the optionBasicPassword value
Sets the optionBasicPassword value
Gets the optionProxyHost value
Sets the optionProxyHost value
Gets the optionProxyPort value
Sets the optionProxyPort value
Gets the optionProxyLogin value
Sets the optionProxyLogin value
Gets the optionProxyPassword value
Sets the optionProxyPassword value
Gets the optionOrigin value
Sets the optionOrigin value
Gets the optionDestination value
Sets the optionDestination value
Gets the optionSrcDirname value
Sets the optionSrcDirname value
Gets the optionSoapOptions value
Sets the optionSoapOptions value
Gets the optionComposerName value
Sets the optionComposerName value
Gets the optionComposerSettings value
Sets the optionComposerSettings value
Gets the optionStructsFolder value
Sets the optionStructsFolder value
Gets the optionArraysFolder value
Sets the optionArraysFolder value
Gets the optionEnumsFolder value
Sets the optionEnumsFolder value
Gets the optionServicesFolder value
Sets the optionServicesFolder value
Gets the optionSchemasSave value
Sets the optionSchemasSave value
Gets the optionSchemasFolder value
Sets the optionSchemasFolder value
Gets the optionXsdTypesPath value
Sets the optionXsdTypesPath value
Returns the service name associated to the method/operation name in order to gather them in one service class
No description
No description
No description
No description
No description
No description
Details
at line 52
__construct(GeneratorOptions $options)
Constructor
at line 101
GeneratorParsers
getParsers()
at line 118
GeneratorFiles
getFiles()
at line 189
Generator
parse()
Only parses what has to be parsed, called before actually generating the package
at line 200
Struct|null
getStructByName(string $structName)
Gets the struct by its name Starting from issue #157, we know call getVirtual secondly as structs are now betterly parsed and so is their inheritance/type is detected
at line 212
Struct|null
getStructByNameAndType(string $structName, string $type)
Gets the struct by its name and type
at line 268
string
getOptionCategory()
Sets the optionCategory value
at line 286
string
getOptionGatherMethods()
Sets the optionGatherMethods value
at line 295
Generator
setOptionGatherMethods(string $gatherMethods)
Sets the optionGatherMethods value
at line 304
bool
getOptionGenericConstantsNames()
Gets the optionGenericConstantsNames value
at line 313
Generator
setOptionGenericConstantsNames(bool $genericConstantsNames)
Sets the optionGenericConstantsNames value
at line 322
bool
getOptionGenerateTutorialFile()
Gets the optionGenerateTutorialFile value
at line 331
Generator
setOptionGenerateTutorialFile(bool $generateTutorialFile)
Sets the optionGenerateTutorialFile value
at line 340
string
getOptionNamespacePrefix()
Gets the optionNamespacePrefix value
at line 349
Generator
setOptionNamespacePrefix(string $namespace)
Sets the optionGenerateTutorialFile value
at line 358
array
getOptionAddComments()
Gets the optionAddComments value
at line 376
bool
getOptionStandalone()
Gets the optionStandalone value
at line 394
bool
getOptionValidation()
Gets the optionValidation value
at line 412
string
getOptionStructClass()
Gets the optionStructClass value
at line 430
string
getOptionStructArrayClass()
Gets the optionStructArrayClass value
at line 439
Generator
setOptionStructArrayClass(string $structArrayClass)
Sets the optionStructArrayClass value
at line 448
string
getOptionSoapClientClass()
Gets the optionSoapClientClass value
at line 457
Generator
setOptionSoapClientClass(string $soapClientClass)
Sets the optionSoapClientClass value
at line 467
string
getOptionPrefix(bool $ucFirst = true)
Gets the package name prefix
at line 486
string
getOptionSuffix(bool $ucFirst = true)
Gets the package name suffix
at line 504
string
getOptionBasicLogin()
Gets the optionBasicLogin value
at line 522
string
getOptionBasicPassword()
Gets the optionBasicPassword value
at line 531
Generator
setOptionBasicPassword(string $optionBasicPassword)
Sets the optionBasicPassword value
at line 540
string
getOptionProxyHost()
Gets the optionProxyHost value
at line 558
string
getOptionProxyPort()
Gets the optionProxyPort value
at line 576
string
getOptionProxyLogin()
Gets the optionProxyLogin value
at line 594
string
getOptionProxyPassword()
Gets the optionProxyPassword value
at line 603
Generator
setOptionProxyPassword(string $optionProxyPassword)
Sets the optionProxyPassword value
at line 612
string
getOptionOrigin()
Gets the optionOrigin value
at line 631
string
getOptionDestination()
Gets the optionDestination value
at line 644
Generator
setOptionDestination(string $optionDestination)
Sets the optionDestination value
at line 657
string
getOptionSrcDirname()
Gets the optionSrcDirname value
at line 675
array
getOptionSoapOptions()
Gets the optionSoapOptions value
at line 684
Generator
setOptionSoapOptions(array $optionSoapOptions)
Sets the optionSoapOptions value
at line 696
string
getOptionComposerName()
Gets the optionComposerName value
at line 705
Generator
setOptionComposerName(string $optionComposerName)
Sets the optionComposerName value
at line 718
array
getOptionComposerSettings()
Gets the optionComposerSettings value
at line 727
Generator
setOptionComposerSettings(array $optionComposerSettings = [])
Sets the optionComposerSettings value
at line 736
string
getOptionStructsFolder()
Gets the optionStructsFolder value
at line 745
Generator
setOptionStructsFolder(string $optionStructsFolder)
Sets the optionStructsFolder value
at line 754
string
getOptionArraysFolder()
Gets the optionArraysFolder value
at line 763
Generator
setOptionArraysFolder(string $optionArraysFolder)
Sets the optionArraysFolder value
at line 772
string
getOptionEnumsFolder()
Gets the optionEnumsFolder value
at line 781
Generator
setOptionEnumsFolder(string $optionEnumsFolder)
Sets the optionEnumsFolder value
at line 790
string
getOptionServicesFolder()
Gets the optionServicesFolder value
at line 799
Generator
setOptionServicesFolder(string $optionServicesFolder)
Sets the optionServicesFolder value
at line 808
bool
getOptionSchemasSave()
Gets the optionSchemasSave value
at line 817
Generator
setOptionSchemasSave(bool $optionSchemasSave)
Sets the optionSchemasSave value
at line 826
string
getOptionSchemasFolder()
Gets the optionSchemasFolder value
at line 835
Generator
setOptionSchemasFolder(string $optionSchemasFolder)
Sets the optionSchemasFolder value
at line 844
string
getOptionXsdTypesPath()
Gets the optionXsdTypesPath value
at line 894
protected string
getGather(AbstractModel $model)
Gets gather name class
at line 903
string
getServiceName(string $methodName)
Returns the service name associated to the method/operation name in order to gather them in one service class