abstract class AbstractBrowserInterface

Abstract class to deal with browser interactions, such as cookies or session

Methods

setCookie(string $name, string $value, int $expires, string $domain)

Set a cookie

deleteCookie(string $name, string $domain)

Delete a cookie

string
getCookie(string $name)

Get a cookie

Details

at line 30
abstract setCookie(string $name, string $value, int $expires, string $domain)

Set a cookie

Parameters

string $name
string $value
int $expires
string $domain

at line 40
abstract deleteCookie(string $name, string $domain)

Delete a cookie

Parameters

string $name
string $domain

at line 50
abstract string getCookie(string $name)

Get a cookie

Parameters

string $name

Return Value

string