Cookie · Mecha CMS

Persistent storage using cookies.

$cookie::get()

Author: Taufik Nurrohman · 127 Views

Tweet

Get a cookie.

Cookie::get($key = null, $fail = null);

Example:

Cookie::get('my_cookie', '#');

Get all cookies:

Cookie::get();