Method | Description | |
---|---|---|
__construct ( |
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 ( ) : |
Returns the owner model object, meaning a Service object | |
getParameterType ( ) : string | string[] | Returns the parameter type | |
getReservedMethodsInstance ( $filename = null ) : |
||
getReturnType ( ) : string | Returns the retrun type | |
setIsUnique ( $isUnique ) : |
Set the isUnique property | |
setParameterType ( $parameterType ) : |
Set the parameter type | |
setReturnType ( $returnType ) : |
Set the retrun type |
public __construct ( |
||
$generator | ||
$name | string | the function name |
$parameterType | string | array | the type/name of the parameter |
$returnType | string | array | the type/name of the return value |
$service | defines the struct which owns this value | |
$isUnique | boolean | defines if the method is unique or not |
public getCleanName ( $keepMultipleUnderscores = true ) : string | ||
return | string |
public getIsUnique ( ) : boolean | ||
return | boolean |
public getMethodName ( ) : string | ||
return | string |
public getOwner ( ) : |
||
return |
public getParameterType ( ) : string | string[] | ||
return | string | string[] |
public getReservedMethodsInstance ( $filename = null ) : |
||
$filename | ||
return |
public getReturnType ( ) : string | ||
return | string |
public setIsUnique ( $isUnique ) : |
||
return |
public setParameterType ( $parameterType ) : |
||
return |
public setReturnType ( $returnType ) : |
||
return |