Метод | Описание | |
---|---|---|
__construct ( string $name, string $value = '', integer $expires, string $path = null, string $domain = null, boolean $secure = false, boolean $httpOnly = false ) | ||
fromHeader ( string $string ) : Icicle\Http\Message\Cookie\Cookie | ||
getDomain ( ) : string | ||
getExpires ( ) : integer | ||
getPath ( ) : string | ||
isHttpOnly ( ) : boolean | ||
isSecure ( ) : boolean | ||
toHeader ( ) : string |
Метод | Описание | |
---|---|---|
encodeDate ( integer $date ) : string | ||
encodePath ( string $path ) : string |
protected encodeDate ( integer $date ) : string | ||
$date | integer | |
Результат | string |
protected encodePath ( string $path ) : string | ||
$path | string | |
Результат | string |
public static fromHeader ( string $string ) : Icicle\Http\Message\Cookie\Cookie | ||
$string | string | Valid Set-Cookie header line. |
Результат | Icicle\Http\Message\Cookie\Cookie |