Deprecated: Non-static method Session::get() should not be called statically in C:xampphtdocsooplrclassestoken.php on line 13 [migrated]

class Token { public static function generate() { return Session::put(Config::get(‘session/token_name’), md5(uniqid())); } public static function check($token) { $tokenName = Config::get(‘session/token_name’);…