W3cubDocs

/Laravel 8

CookieValuePrefix

class CookieValuePrefix (View source)

Methods

static string create(string $cookieName, string $key)

Create a new cookie value prefix for the given cookie name.

static string remove(string $cookieValue)

Remove the cookie value prefix.

Details

static string create(string $cookieName, string $key)

Create a new cookie value prefix for the given cookie name.

Parameters

string $cookieName
string $key

Return Value

string

static string remove(string $cookieValue)

Remove the cookie value prefix.

Parameters

string $cookieValue

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Cookie/CookieValuePrefix.html