메소드 |
설명 |
|
__construct ( Generator $generator, string $name ) |
Main constructor |
|
addMeta ( string $metaName, mixed $metaValue ) : AbstractModel |
Add meta information to the operation |
|
cleanString ( string $string, boolean $keepMultipleUnderscores = true ) : string |
Clean a string to make it valid as PHP variable |
|
getCleanName ( boolean $keepMultipleUnderscores = true ) : string |
Returns a valid clean name for PHP |
|
getContextualPart ( ) : string |
Allows to define the contextual part of the class name for the package |
|
getDocSubPackages ( ) : array |
Returns the sub package name which the model belongs to
Must be overridden by sub classes |
|
getExtends ( boolean $short = false ) : string | null |
Allows to define from which class the curent model extends |
|
getExtendsClassName ( ) : string |
|
|
getInheritance ( ) : string |
Returns the name of the class the current class inherits from |
|
getInheritedMoel ( ) : Struct |
|
|
getIsAbstract ( ) : boolean |
|
|
getMeta ( ) : string[] |
Returns the meta |
|
getMetaValue ( string $metaName, mixed $fallback = null ) : mixed |
Returns a meta value according to its name |
|
getMetaValueFirstSet ( array $names, mixed $fallback = null ) : mixed |
Returns the value of the first meta value assigned to the name |
|
getName ( ) : string |
Returns the original name extracted from the WSDL |
|
getNamespace ( ) : string |
|
|
getOwner ( ) : AbstractModel |
Returns the owner model object |
|
getPackagedName ( $namespaced = false ) : string |
Returns the packaged name |
|
getReservedMethodsInstance ( $filename = null ) : AbstractReservedWord |
|
|
getSubDirectory ( ) : string |
Returns directory where to store class and create it if needed |
|
nameIsClean ( ) : boolean |
Returns true if the original name is safe to use as a PHP property, variable name or class name |
|
purgePhpReservedKeywords ( ) |
Gives the availability for test purpose and multiple package generation to purge reserved keywords usage |
|
purgeReservedMethods ( ) |
Gives the availability for test purpose and multiple package generation to purge reserved methods usage |
|
purgeUniqueNames ( ) |
Gives the availability for test purpose and multiple package generation to purge unique names |
|
replacePhpReservedKeyword ( string $keyword, string $context = null ) : string |
Returns a usable keyword for a original keyword |
|
replaceReservedMethod ( $methodName, string $context = null ) : string |
Returns a usable method for a original method |
|
setDocumentation ( string $documentation ) : AbstractModel |
Sets the documentation meta value. |
|
setInheritance ( $inheritance = '' ) |
Sets the name of the class the current class inherits from |
|
setIsAbstract ( boolean $isAbstract ) : AbstractModel |
|
|
setMeta ( array $meta = [] ) : AbstractModel |
Sets the meta |
|
setName ( string $name ) : AbstractModel |
Sets the original name extracted from the WSDL |
|
setOwner ( AbstractModel $owner ) : AbstractModel |
Sets the owner model object |
|