Registry
final class 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 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, mixed $value)
No description
static void|bool
del(string $name)
No description
Details
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, mixed $value)
No description
static void|bool
del(string $name)
No description