registry::set PHP Method

set() public static method

public static set ( $key, $value )
    public static function set($key, $value)
    {
        static::$data[$key] = $value;
    }

Usage Example

Example #1
0
 /**
  * @param string $id
  * @param core_libs $this
  */
 function set($id, $lib = null)
 {
     if ($lib && is_object($lib) && !$lib instanceof Closure) {
         $this->_resolved($id, $lib);
     }
     return parent::set($id, $lib);
 }
All Usage Examples Of registry::set