final class Yaf_Registry (View source)

All methods of Yaf_Registry declared as static, making it universally accessible. This provides the ability to get or set any custom data from anyway in your code as necessary.

Properties

static protected Yaf_Registry $_instance
protected array $_entries

Methods

static mixed
get(string $name)

Retrieve an item from registry

static bool
has(string $name)

Check whether an item exists

static bool
set(string $name, string $value)

No description

static void|bool
del(string $name)

No description

Details

static mixed get(string $name)

Retrieve an item from registry

Parameters

string $name

Return Value

mixed

static bool has(string $name)

Check whether an item exists

Parameters

string $name

Return Value

bool

static bool set(string $name, string $value)

No description

Parameters

string $name
string $value

Return Value

bool

static void|bool del(string $name)

No description

Parameters

string $name

Return Value

void|bool