final class DefaultFunction implements Function_ (View source)

A PHP representation of a public function

Methods

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

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.

Details

string name()

Returns the full name of the function

Return Value

string

Full name of the function including name and types

string simpleName()

Returns the simple name of the function

Return Value

string

Simple name of the function

array arguments()

Returns the arguments of the function

Return Value

array

Arguments of the function

Type returnType()

Returns the return type of the function

Return Value

Type

Return type of the function

string signature()

Returns the signature of the function

Return Value

string

Signature of the function (same as name())

string language()

Returns the lanuage of the function

Return Value

string

Language used by the function

string body()

Returns the body of the function

Return Value

string

Body of the function

bool isCalledOnNullInput()

Determines if a function is called when the value is null.

Return Value

bool

Returns whether the function is called when the input columns are null