October\Rain\Cookie\Middleware\EncryptCookies

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

Extends:

  • Illuminate\Cookie\Middleware\EncryptCookies

Protected properties

There are no protected properties in the class.

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.
  • protected static bool $serialize - defined in Illuminate\Cookie\Middleware\EncryptCookies. Indicates if the cookies should be serialized.

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

protected void decryptArray($cookie)

Shift gracefully to unserialized cookies

Parameters
  • $cookie

protected void decryptCookie($name, $cookie)

Shift gracefully to unserialized cookies

Parameters
  • $name
  • $cookie

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 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.