PHP Class Phly\Http\HeaderStack

Datei anzeigen Open project: phly/http Class Usage Examples

Public Methods

Method Description
push ( string $header ) Push a header on the stack
reset ( ) Reset state
stack ( ) : array Return the current header stack

Method Details

push() public static method

Push a header on the stack
public static push ( string $header )
$header string

reset() public static method

Reset state
public static reset ( )

stack() public static method

Return the current header stack
public static stack ( ) : array
return array