Mecha CMS

Cookie::get()

Get a cookie.

2.0.0 Static

Cookie::get(void);
Cookie::get(string $key);

Example:

$A = Cookie::get('foo'); // Get `foo` cookie
$B = Cookie::get(); // Get all cookies