Menu

## Cookie
in package

Cookie.php : 11

Class Cookie Object-oriented convenience wrapper class for handling cookies.

### Table of Contents

exists() : bool
  Checks if a cookie exists.
get() : string
  Retrieves the delicious cookie value or returns an empty string.
getRaw() : array<string|int, mixed>
  Retrieves the raw cookie array.
remove() : void
  Removes a cookie
set() : void
  Sets a cookie.

### Methods

#### exists()

Cookie.php : 19

Checks if a cookie exists.

`public static exists( $name) : bool`

##### Parameters

$name :

##### Return values

bool —

#### get()

Cookie.php : 30

Retrieves the delicious cookie value or returns an empty string.

`public static get( $name) : string`

##### Parameters

$name :

##### Return values

string —

#### getRaw()

Cookie.php : 64

Retrieves the raw cookie array.

`public getRaw() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### remove()

Cookie.php : 54

Removes a cookie

`public static remove(string $name) : void`

##### Parameters

$name : string

##### Return values

void —

#### set()

Cookie.php : 44

Sets a cookie.

`public static set(mixed ...$args) : void`

##### Parameters

$args : mixed

##### Return values

void —

## Search results