Documentation

Clear
in package
Uses UtilsProvider

Clear server-side cookies like `http` cookies.

Table of Contents

Properties

$me  : Clear
Singleton instance.

Methods

byCookies()  : mixed
Clear cookies by cookie ids.
byHttpCookieName()  : mixed
Unset a cookie from the same host by name.
byTechnicalDefinition()  : mixed
Clear a cookie by technical definition.
getInstance()  : mixed
Get singleton instance.
getPluginConstantPrefix()  : string
Get the prefix of this plugin so composer packages can dynamically build other constant values on it.
__construct()  : mixed
C'tor.

Properties

$me

Singleton instance.

private static Clear $me = null

Methods

byCookies()

Clear cookies by cookie ids.

public byCookies(array<string|int, int> $cookies) : mixed
Parameters
$cookies : array<string|int, int>

byTechnicalDefinition()

Clear a cookie by technical definition.

public byTechnicalDefinition(array<string|int, mixed> $technicalDefinition) : mixed
Parameters
$technicalDefinition : array<string|int, mixed>

getInstance()

Get singleton instance.

public static getInstance() : mixed
Tags
codeCoverageIgnore

getPluginConstantPrefix()

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

public getPluginConstantPrefix() : string
Tags
codeCoverageIgnore

It only returns a string with the constant prefix

Return values
string

__construct()

C'tor.

private __construct() : mixed

        
On this page

Search results