PHP Class Icicle\Http\Message\Cookie\BasicCookie

Inheritance: implements Icicle\Http\Message\Cookie\Cookie
Mostrar archivo Open project: icicleio/http Class Usage Examples

Public Methods

Method Description
__construct ( string $name, $value = '' )
__toString ( ) : string
fromHeader ( string $string ) : Icicle\Http\Message\Cookie\Cookie
getName ( ) : string
getValue ( ) : string
toHeader ( ) : string

Protected Methods

Method Description
filterValue ( string $value ) : string

Method Details

__construct() public method

public __construct ( string $name, $value = '' )
$name string

__toString() public method

public __toString ( ) : string
return string

filterValue() protected method

protected filterValue ( string $value ) : string
$value string
return string mixed

fromHeader() public static method

public static fromHeader ( string $string ) : Icicle\Http\Message\Cookie\Cookie
$string string Valid Set-Cookie header line.
return Icicle\Http\Message\Cookie\Cookie

getName() public method

public getName ( ) : string
return string

getValue() public method

public getValue ( ) : string
return string

toHeader() public method

public toHeader ( ) : string
return string