public static function key() { if (!isset($_SESSION['state_key'])) { $_SESSION['state_key'] = uuid::gen(); } return $_SESSION['state_key']; }
public function __construct($value = '') { $this->name = uuid::gen(); $this->value = $value; }
public function __construct(&$set, $value = '') { $this->name = uuid::gen(); $this->value = $value; $this->set =& $set; }