Fat-Free Framework  3.3.0  Overview Class List Hierarchy
Static Public Member Functions | List of all members
Registry Class Reference

Container for singular object instances. More...

Static Public Member Functions

static exists ($key)
 
static set ($key, $obj)
 
static get ($key)
 
static clear ($key)
 

Detailed Description

Container for singular object instances.

Member Function Documentation

static Registry::clear (   $key)
static

Delete object from catalog

Returns
NULL
Parameters
$keystring
static Registry::exists (   $key)
static

Return TRUE if object exists in catalog

Returns
bool
Parameters
$keystring
static Registry::get (   $key)
static

Retrieve object from catalog

Returns
object
Parameters
$keystring
static Registry::set (   $key,
  $obj 
)
static

Add object to catalog

Returns
object
Parameters
$keystring
$objobject

The documentation for this class was generated from the following file: