Subversion Repositories PHPX

Compare Revisions

Last modification

Ignore whitespace Rev 44 → Rev 45

/trunk/Registry.php
12,16 → 12,18
* @var array
*/
protected static $_data = array();
 
/**
* Puts data in storage
*
* @param string $key
* @param mixed $value
* @return mixed The stored value
*/
public static function set($key, $value)
{
self::$_data[$key] = $value;
return self::get($key);
}
 
/**