final class GlobalFunction

Definition of a global function.

Methods

static GlobalFunction
from(string|Closure $function, bool $withBody = false)

No description

string
__toString()

No description

void
__clone()

No description

Details

at line 25
static GlobalFunction from(string|Closure $function, bool $withBody = false)

No description

Parameters

string|Closure $function
bool $withBody

Return Value

GlobalFunction

at line 31
string __toString()

No description

Return Value

string

at line 37
void __clone()

No description

Return Value

void

Traits