class Helpers

Rendering helpers for HTTP.

Methods

static string
formatDate($time)

Returns HTTP valid date format.

static bool
ipMatch($ip, $mask)

Is IP address in CIDR block?

static void
removeDuplicateCookies()

Removes duplicate cookies from response.

Details

at line 26
static string formatDate($time)

Returns HTTP valid date format.

Parameters

$time

Return Value

string

at line 38
static bool ipMatch($ip, $mask)

Is IP address in CIDR block?

Parameters

$ip
$mask

Return Value

bool

at line 57
static void removeDuplicateCookies()

internal  
 

Removes duplicate cookies from response.

Return Value

void

Traits

StaticClass