A PHP representation of a public function

Implements

Methods

string

name

( )

Returns the full name of the function

Returns:
Type Details
string

Full name of the function including name and types

string

simpleName

( )

Returns the simple name of the function

Returns:
Type Details
string

Simple name of the function

array

arguments

( )

Returns the arguments of the function

Returns:
Type Details
array

Arguments of the function

Dse\Type

returnType

( )

Returns the return type of the function

Returns:
Type Details
Dse\Type

Return type of the function

string

signature

( )

Returns the signature of the function

Returns:
Type Details
string

Signature of the function (same as DefaultFunction::name())

string

language

( )

Returns the lanuage of the function

Returns:
Type Details
string

Language used by the function

string

body

( )

Returns the body of the function

Returns:
Type Details
string

Body of the function

bool

isCalledOnNullInput

( )

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

Returns:
Type Details
bool