PHP Class Httpful\Response\Headers

Inheritance: implements ArrayAccess, implements Countable
Afficher le fichier Open project: nategood/httpful Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
__construct ( array $headers )

Method Details

count() public méthode

public count ( ) : integer
Résultat integer

fromString() public static méthode

public static fromString ( string $string ) : Headers
$string string
Résultat Headers

offsetExists() public méthode

public offsetExists ( string $offset ) : boolean
$offset string
Résultat boolean

offsetGet() public méthode

public offsetGet ( string $offset ) : mixed
$offset string
Résultat mixed

offsetSet() public méthode

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

offsetUnset() public méthode

public offsetUnset ( string $offset )
$offset string

toArray() public méthode

public toArray ( ) : array
Résultat array