October\Rain\Cookie\Middleware\EncryptCookies

Source: ~/vendor/october/rain/src/Cookie/Middleware/EncryptCookies.php

Extends:

  • Illuminate\Cookie\Middleware\EncryptCookies

Protected properties

protected static bool $serialize

Indicates if cookies should be serialized.

Show inherited protected properties

Inherited protected properties

  • protected Illuminate\Contracts\Encryption\Encrypter $encrypter - defined in Illuminate\Cookie\Middleware\EncryptCookies. The encrypter instance.
  • protected array $except - defined in Illuminate\Cookie\Middleware\EncryptCookies. The names of the cookies that should not be encrypted.

Public methods

public void __construct($encrypter)
Parameters
  • $encrypter

Show inherited public methods

Inherited public methods

  • public void disableFor(string|array $cookieName) - defined in Illuminate\Cookie\Middleware\EncryptCookies. Disable encryption for the given cookie name(s).
  • public mixed handle(Illuminate\Http\Request $request, Closure $next) - defined in Illuminate\Cookie\Middleware\EncryptCookies. Handle an incoming request.
  • public bool isDisabled(string $name) - defined in Illuminate\Cookie\Middleware\EncryptCookies. Determine whether encryption has been disabled for the given cookie.
  • public static bool serialized(string $name) - defined in Illuminate\Cookie\Middleware\EncryptCookies. Determine if the cookie contents should be serialized.

Protected methods

Show inherited protected methods

Inherited protected methods

  • protected Symfony\Component\HttpFoundation\Request decrypt(Symfony\Component\HttpFoundation\Request $request) - defined in Illuminate\Cookie\Middleware\EncryptCookies. Decrypt the cookies on the request.
  • protected array decryptArray(array $cookie) - defined in Illuminate\Cookie\Middleware\EncryptCookies. Decrypt an array based cookie.
  • protected string|array decryptCookie(string $name, string|array $cookie) - defined in Illuminate\Cookie\Middleware\EncryptCookies. Decrypt the given cookie and return the value.
  • protected Symfony\Component\HttpFoundation\Cookie duplicate(Symfony\Component\HttpFoundation\Cookie $c, mixed $value) - defined in Illuminate\Cookie\Middleware\EncryptCookies. Duplicate a cookie with a new value.
  • protected Symfony\Component\HttpFoundation\Response encrypt(Symfony\Component\HttpFoundation\Response $response) - defined in Illuminate\Cookie\Middleware\EncryptCookies. Encrypt the cookies on an outgoing response.