Amp\Artax\Cookie\ArrayCookieJar class ArrayCookieJar implements Amp\Artax\Cookie\CookieJar

Summary

Properties

Methods

Properties

Methods

store — public function store(Amp\Artax\Cookie\Cookie $cookie): void

Store a cookie.

Type Parameter Description Default Value
Amp\Artax\Cookie\Cookie $cookie No documentation. none
remove — public function remove(Amp\Artax\Cookie\Cookie $cookie)

Remove a specific cookie from the storage.

Type Parameter Description Default Value
Amp\Artax\Cookie\Cookie $cookie No documentation. none
removeAll — public function removeAll()

Remove all stored cookies.

getAll — public function getAll(): array

Retrieve all stored cookies.

get — public function get(string $domain, string $path = '', string $name = null): array

Retrieve all cookies matching the specified constraints.

Type Parameter Description Default Value
string $domain No documentation. none
string $path No documentation. ''
string $name No documentation. null