You are here

public function CookieInterface::toData in Bakery Single Sign-On System 8.2

Convert the data into an array to be stored into a cookie.

Return value

array The data to store in the cookie.

5 methods override CookieInterface::toData()
ChocolateChip::toData in src/Cookies/ChocolateChip.php
Convert the data into an array to be stored into a cookie.
Gingerbread::toData in src/Cookies/Gingerbread.php
Convert the data into an array to be stored into a cookie.
GingerbreadReturn::toData in src/Cookies/GingerbreadReturn.php
Convert the data into an array to be stored into a cookie.
OatmealCookie::toData in src/Cookies/OatmealCookie.php
Convert the data into an array to be stored into a cookie.
Stroopwafel::toData in src/Cookies/Stroopwafel.php
Convert the data into an array to be stored into a cookie.

File

src/Cookies/CookieInterface.php, line 23

Class

CookieInterface

Namespace

Drupal\bakery\Cookies

Code

public function toData() : array;