DefaultFunction
final class DefaultFunction implements Function_ (View source)
A PHP representation of a public function
Methods
Returns the full name of the function
Returns the simple name of the function
Returns the arguments of the function
Returns the return type of the function
Returns the signature of the function
Returns the lanuage of the function
Returns the body of the function
Determines if a function is called when the value is null.
Details
string
name()
Returns the full name of the function
string
simpleName()
Returns the simple name of the function
array
arguments()
Returns the arguments of the function
Type
returnType()
Returns the return type of the function
string
signature()
Returns the signature of the function
string
language()
Returns the lanuage of the function
string
body()
Returns the body of the function
bool
isCalledOnNullInput()
Determines if a function is called when the value is null.