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