Method | Description | |
---|---|---|
countBodyExpressions ( ) : integer | Gets amount of body expressions of the function. | |
countBodyExpressionsUntilReturn ( ) : integer | Gets amount of body expressions of the function before and including the first return statement. | |
getBodyExpressions ( ) : |
Gets the body expressions of the function. | |
getBodyExpressionsUntilReturn ( ) : |
Gets the body expressions of the function before and including the first return statement. | |
getCallableId ( ) : string | Gets the parameter id of the callable for the function. | |
getEvaluationContextFactory ( ) : |
Gets an evaluation context factory of the function. | |
getNamespace ( ) : string | null | Gets the namespace the function was defined in. | |
getParameterIds ( ) : string[] | ||
getParameterScopedVariableMap ( ) : array |
Gets an array containing the parameter ids as keys with their respective scoped variable name as the value. | |
getParameters ( ) : |
||
getScopeType ( ) : string | null | Gets the bound type of the function. | |
hasNamespace ( ) : boolean | Whether the function is defined in a namespace. | |
hasScopeType ( ) : boolean | Whether the function has a scoped type. | |
isInternal ( ) : boolean | ||
update ( string | null $scopeType, string | null $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null ) : static | ||
updateBody ( array $bodyExpressions = null ) : static | ||
walk ( |
public countBodyExpressions ( ) : integer | ||
return | integer |
public countBodyExpressionsUntilReturn ( ) : integer | ||
return | integer |
public getBodyExpressions ( ) : |
||
return |
public getBodyExpressionsUntilReturn ( ) : |
||
return |
public getCallableId ( ) : string | ||
return | string |
public getEvaluationContextFactory ( ) : |
||
return |
public getNamespace ( ) : string | null | ||
return | string | null |
public getParameterScopedVariableMap ( ) : array |
||
return | array |
public getParameters ( ) : |
||
return |
public getScopeType ( ) : string | null | ||
return | string | null |
public hasNamespace ( ) : boolean | ||
return | boolean |
public hasScopeType ( ) : boolean | ||
return | boolean |
public update ( string | null $scopeType, string | null $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null ) : static | ||
$scopeType | string | null | |
$namespace | string | null | |
$parameterScopedVariableMap | array | |
$parameterExpressions | array | |
$bodyExpressions | array | |
return | static |
public updateBody ( array $bodyExpressions = null ) : static | ||
$bodyExpressions | array | |
return | static |
public walk ( |
||
$walker | ||
return | static |