Amp\Artax\Cookie\FileCookieJar class FileCookieJar extends Amp\Artax\Cookie\ArrayCookieJar

Summary

Properties

Methods

Properties

Methods

__construct — public function __construct(string $storagePath)
No documentation.
Type Parameter Description Default Value
string $storagePath No documentation. none
__destruct — public function __destruct()
No documentation.
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