get() public method
Returns the named header(s).
public string|array get ( $name, $default = null, $first = true )$name string
The name of the header to return $default mixed
The value to return in case the named header does not exist $first boolean
Whether to only return the first header of the specified name. If false, all headers of the specified name will be returned. return
string|array
The named header(s). If $first is true, a string will be returned; If $first is false, an