PHP Class Httpful\Response\Headers

Inheritance: implements ArrayAccess, implements Countable
Mostrar archivo Open project: nategood/httpful Class Usage Examples

Public Methods

Method Description
count ( ) : integer
fromString ( string $string ) : Headers
offsetExists ( string $offset ) : boolean
offsetGet ( string $offset ) : mixed
offsetSet ( string $offset, string $value )
offsetUnset ( string $offset )
toArray ( ) : array

Private Methods

Method Description
__construct ( array $headers )

Method Details

count() public method

public count ( ) : integer
return integer

fromString() public static method

public static fromString ( string $string ) : Headers
$string string
return Headers

offsetExists() public method

public offsetExists ( string $offset ) : boolean
$offset string
return boolean

offsetGet() public method

public offsetGet ( string $offset ) : mixed
$offset string
return mixed

offsetSet() public method

public offsetSet ( string $offset, string $value )
$offset string
$value string

offsetUnset() public method

public offsetUnset ( string $offset )
$offset string

toArray() public method

public toArray ( ) : array
return array