PHP Class HTTPCookieManager

Author: João Batista Neto ([email protected])
Inheritance: implements CookieManager
ファイルを表示 Open project: imastersdev/correios

Public Methods

Method Description
__construct ( string $dirname = null )
__destruct ( )
addCookie ( Cookie $cookie )
getCookie ( $domain, $secure, $path )
getCookieIterator ( $domain, $secure, $path )
serialize ( )
setCookie ( $setCookie, $domain = null )
unserialize ( $serialized )

Private Methods

Method Description
getCookieArray ( $domain, $secure, $path )

Method Details

__construct() public method

public __construct ( string $dirname = null )
$dirname string Diretório onde os cookies serão gravados, caso não informado o diretório temporário do sistema será utilizado.

__destruct() public method

public __destruct ( )

addCookie() public method

See also: CookieManager::addCookie()
public addCookie ( Cookie $cookie )
$cookie Cookie

getCookie() public method

See also: CookieManager::getCookie()
public getCookie ( $domain, $secure, $path )

getCookieIterator() public method

See also: CookieManager::getCookieIterator()
public getCookieIterator ( $domain, $secure, $path )

serialize() public method

See also: Serializable::serialize()
public serialize ( )

setCookie() public method

See also: CookieManager::setCookie()
public setCookie ( $setCookie, $domain = null )

unserialize() public method

See also: Serializable::unserialize()
public unserialize ( $serialized )