Debian Codegraph @

lib/3rdParty/composer/illuminate/support/Facades/Session.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Support\Facades;
4
5 /**
6 * @method static bool shouldBlock()
7 * @method static string|null blockDriver()
8 * @method static int defaultRouteBlockLockSeconds()
9 * @method static int defaultRouteBlockWaitSeconds()
10 * @method static array getSessionConfig()
11 * @method static string|null getDefaultDriver()
12 * @method static void setDefaultDriver(string $name)
13 * @method static mixed driver(string|null $driver = null)
14 * @method static \Illuminate\Session\SessionManager extend(string $driver, \Closure $callback)
15 * @method static array getDrivers()
16 * @method static \Illuminate\Contracts\Container\Container getContainer()
17 * @method static \Illuminate\Session\SessionManager setContainer(\Illuminate\Contracts\Container\Container $container)
18 * @method static \Illuminate\Session\SessionManager forgetDrivers()
19 * @method static bool start()
20 * @method static void save()
21 * @method static void ageFlashData()
22 * @method static array all()
23 * @method static array only(array $keys)
24 * @method static array except(array $keys)
25 * @method static bool exists(\UnitEnum|string|array $key)
26 * @method static bool missing(\UnitEnum|string|array $key)
27 * @method static bool has(\UnitEnum|string|array $key)
28 * @method static bool hasAny(\UnitEnum|string|array $key)
29 * @method static mixed get(\UnitEnum|string $key, mixed $default = null)
30 * @method static mixed pull(\UnitEnum|string $key, mixed $default = null)
31 * @method static bool hasOldInput(string|null $key = null)
32 * @method static mixed getOldInput(string|null $key = null, mixed $default = null)
33 * @method static void replace(array $attributes)
34 * @method static void put(\UnitEnum|string|array $key, mixed $value = null)
35 * @method static mixed remember(\UnitEnum|string $key, \Closure $callback)
36 * @method static void push(\UnitEnum|string $key, mixed $value)
37 * @method static mixed increment(\UnitEnum|string $key, int $amount = 1)
38 * @method static int decrement(\UnitEnum|string $key, int $amount = 1)
39 * @method static void flash(\UnitEnum|string $key, mixed $value = true)
40 * @method static void now(\UnitEnum|string $key, mixed $value)
41 * @method static void reflash()
42 * @method static void keep(mixed $keys = null)
43 * @method static void flashInput(array $value)
44 * @method static \Illuminate\Contracts\Cache\Repository cache()
45 * @method static mixed remove(\UnitEnum|string $key)
46 * @method static void forget(\UnitEnum|string|array $keys)
47 * @method static void flush()
48 * @method static bool invalidate()
49 * @method static bool regenerate(bool $destroy = false)
50 * @method static bool migrate(bool $destroy = false)
51 * @method static bool isStarted()
52 * @method static string getName()
53 * @method static void setName(string $name)
54 * @method static string id()
55 * @method static string getId()
56 * @method static void setId(string|null $id)
57 * @method static bool isValidId(string|null $id)
58 * @method static void setExists(bool $value)
59 * @method static string token()
60 * @method static void regenerateToken()
61 * @method static bool hasPreviousUri()
62 * @method static \Illuminate\Support\Uri previousUri()
63 * @method static string|null previousUrl()
64 * @method static void setPreviousUrl(string $url)
65 * @method static string|null previousRoute()
66 * @method static void setPreviousRoute(string|null $route)
67 * @method static void passwordConfirmed()
68 * @method static \SessionHandlerInterface getHandler()
69 * @method static \SessionHandlerInterface setHandler(\SessionHandlerInterface $handler)
70 * @method static bool handlerNeedsRequest()
71 * @method static void setRequestOnHandler(\Illuminate\Http\Request $request)
72 * @method static void macro(string $name, object|callable $macro)
73 * @method static void mixin(object $mixin, bool $replace = true)
74 * @method static bool hasMacro(string $name)
75 * @method static void flushMacros()
76 *
77 * @see \Illuminate\Session\SessionManager
78 */
79 class Session extends Facade
80 {
81 /**
82 * Get the registered name of the component.
83 *
84 * @return string
85 */
86 protected static function getFacadeAccessor()
87 {
88 return 'session';
89 }
90 }