메소드 |
설명 |
|
__construct ( Generator $generator, string $name, string | array $parameterType, string | array $returnType, Service $service, boolean $isUnique = true ) |
Main constructor |
|
getCleanName ( $keepMultipleUnderscores = true ) : string |
Method name can't starts with numbers |
|
getIsUnique ( ) : boolean |
Returns the isUnique property |
|
getMethodName ( ) : string |
Returns the name of the method that is used to call the operation
It takes care of the fact that the method might not be the only one named as it is. |
|
getOwner ( ) : Service |
Returns the owner model object, meaning a Service object |
|
getParameterType ( ) : string | string[] |
Returns the parameter type |
|
getReservedMethodsInstance ( $filename = null ) : ServiceReservedMethod |
|
|
getReturnType ( ) : string |
Returns the retrun type |
|
setIsUnique ( $isUnique ) : Method |
Set the isUnique property |
|
setParameterType ( $parameterType ) : Method |
Set the parameter type |
|
setReturnType ( $returnType ) : Method |
Set the retrun type |
|