Subversion Repositories PHPX

Compare Revisions

Last modification

Ignore whitespace Rev 45 → Rev 44

/trunk/Registry.php
12,18 → 12,16
* @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);
}
 
/**