You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. /**
  4. * @method static string getName()
  5. * @method static string getId()
  6. * @method static void setId(string $id)
  7. * @method static bool start()
  8. * @method static bool save()
  9. * @method static array all()
  10. * @method static bool exists(string|array $key)
  11. * @method static bool has(string|array $key)
  12. * @method static mixed get(string $key, $default = null)
  13. * @method static mixed pull(string $key, $default = null)
  14. * @method static void put(string|array $key, $value = null)
  15. * @method static string token()
  16. * @method static mixed remove(string $key)
  17. * @method static void forget(string|array $keys)
  18. * @method static void flush()
  19. * @method static bool migrate(bool $destroy = false)
  20. * @method static bool isStarted()
  21. * @method static string|null previousUrl()
  22. * @method static void setPreviousUrl(string $url)
  23. * @method static \SessionHandlerInterface getHandler()
  24. * @method static bool handlerNeedsRequest()
  25. * @method static void setRequestOnHandler(\Illuminate\Http\Request $request)
  26. *
  27. * @see \Illuminate\Session\SessionManager
  28. * @see \Illuminate\Session\Store
  29. */
  30. class Session extends Facade
  31. {
  32. /**
  33. * Get the registered name of the component.
  34. *
  35. * @return string
  36. */
  37. protected static function getFacadeAccessor()
  38. {
  39. return 'session';
  40. }
  41. }