public static function getToken() { if (0 === self::$token) { self::$token = intval(microtime(true) * 1000000) + mt_rand(0, 999); } return self::$token; }