api/laravel/Support/Facades/Cookie.yaml

139 lines
4.3 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: Cookie
class_comment: '# * @method static \Symfony\Component\HttpFoundation\Cookie make(string
$name, string $value, int $minutes = 0, string|null $path = null, string|null $domain
= null, bool|null $secure = null, bool $httpOnly = true, bool $raw = false, string|null
$sameSite = null)
# * @method static \Symfony\Component\HttpFoundation\Cookie forever(string $name,
string $value, string|null $path = null, string|null $domain = null, bool|null $secure
= null, bool $httpOnly = true, bool $raw = false, string|null $sameSite = null)
# * @method static \Symfony\Component\HttpFoundation\Cookie forget(string $name,
string|null $path = null, string|null $domain = null)
# * @method static bool hasQueued(string $key, string|null $path = null)
# * @method static \Symfony\Component\HttpFoundation\Cookie|null queued(string $key,
mixed $default = null, string|null $path = null)
# * @method static void queue(mixed ...$parameters)
# * @method static void expire(string $name, string|null $path = null, string|null
$domain = null)
# * @method static void unqueue(string $name, string|null $path = null)
# * @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain(string $path,
string|null $domain, bool|null $secure = false, string|null $sameSite = null)
# * @method static \Symfony\Component\HttpFoundation\Cookie[] getQueuedCookies()
# * @method static \Illuminate\Cookie\CookieJar flushQueuedCookies()
# * @method static void macro(string $name, object|callable $macro, object|callable
$macro = null)
# * @method static void mixin(object $mixin, bool $replace = true)
# * @method static bool hasMacro(string $name)
# * @method static void flushMacros()
# *
# * @see \Illuminate\Cookie\CookieJar'
dependencies: []
properties: []
methods:
- name: has
visibility: public
parameters:
- name: key
comment: '# * @method static \Symfony\Component\HttpFoundation\Cookie make(string
$name, string $value, int $minutes = 0, string|null $path = null, string|null
$domain = null, bool|null $secure = null, bool $httpOnly = true, bool $raw = false,
string|null $sameSite = null)
# * @method static \Symfony\Component\HttpFoundation\Cookie forever(string $name,
string $value, string|null $path = null, string|null $domain = null, bool|null
$secure = null, bool $httpOnly = true, bool $raw = false, string|null $sameSite
= null)
# * @method static \Symfony\Component\HttpFoundation\Cookie forget(string $name,
string|null $path = null, string|null $domain = null)
# * @method static bool hasQueued(string $key, string|null $path = null)
# * @method static \Symfony\Component\HttpFoundation\Cookie|null queued(string
$key, mixed $default = null, string|null $path = null)
# * @method static void queue(mixed ...$parameters)
# * @method static void expire(string $name, string|null $path = null, string|null
$domain = null)
# * @method static void unqueue(string $name, string|null $path = null)
# * @method static \Illuminate\Cookie\CookieJar setDefaultPathAndDomain(string
$path, string|null $domain, bool|null $secure = false, string|null $sameSite =
null)
# * @method static \Symfony\Component\HttpFoundation\Cookie[] getQueuedCookies()
# * @method static \Illuminate\Cookie\CookieJar flushQueuedCookies()
# * @method static void macro(string $name, object|callable $macro, object|callable
$macro = null)
# * @method static void mixin(object $mixin, bool $replace = true)
# * @method static bool hasMacro(string $name)
# * @method static void flushMacros()
# *
# * @see \Illuminate\Cookie\CookieJar
# */
# class Cookie extends Facade
# {
# /**
# * Determine if a cookie exists on the request.
# *
# * @param string $key
# * @return bool'
- name: get
visibility: public
parameters:
- name: key
default: 'null'
- name: default
default: 'null'
comment: '# * Retrieve a cookie from the request.
# *
# * @param string|null $key
# * @param mixed $default
# * @return string|array|null'
- name: getFacadeAccessor
visibility: protected
parameters: []
comment: '# * Get the registered name of the component.
# *
# * @return string'
traits: []
interfaces: []