PHP 8.3.31
Preview: Cookie.php Size: 2.39 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Support/Facades/Cookie.php

<?php

namespace Illuminate\Support\Facades;

/**
 * @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)
 * @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
     */
    public static function has($key)
    {
        return ! is_null(static::$app['request']->cookie($key, null));
    }

    /**
     * Retrieve a cookie from the request.
     *
     * @param  string|null  $key
     * @param  mixed  $default
     * @return string|array|null
     */
    public static function get($key = null, $default = null)
    {
        return static::$app['request']->cookie($key, $default);
    }

    /**
     * Get the registered name of the component.
     *
     * @return string
     */
    protected static function getFacadeAccessor()
    {
        return 'cookie';
    }
}

Directory Contents

Dirs: 0 × Files: 44

Name Size Perms Modified Actions
9.27 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.86 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.97 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.98 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.56 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.85 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.96 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.42 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.26 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.82 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.39 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
874 B lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
5.34 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
8.18 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.80 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.32 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
9.00 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.81 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.83 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.35 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
9.29 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.12 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.78 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
5.16 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.88 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.22 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.33 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.30 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.04 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.60 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.28 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.33 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.99 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
11.18 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.75 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
8.19 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
7.59 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.10 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.69 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
8.61 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.81 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.54 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
5.46 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.32 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).