Exemplo n.º 1
0
 public static function token()
 {
     $token_name = "#eyuD#BR@w";
     $token = "";
     //
     if (self::existe($token_name)) {
         $token = self::get($token_name);
     } else {
         $token = Hash::token();
         //
         self::put($token_name, $token);
     }
     return $token;
 }