final class GlobalFunction

Global function.

Methods

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

No description

static GlobalFunction
withBodyFrom(string $function) deprecated

No description

string
__toString()

No description

Details

at line 28
static GlobalFunction from(string $function, bool $withBody = false)

No description

Parameters

string $function
bool $withBody

Return Value

GlobalFunction

at line 35
static GlobalFunction withBodyFrom(string $function) deprecated

deprecated use GlobalFunction::from(..., withBody: true)

No description

Parameters

string $function

Return Value

GlobalFunction

at line 42
string __toString()

No description

Return Value

string

Traits

Strict class for better experience.