Class Phalcon\Http\Response\Headers
implements Phalcon\Http\Response\HeadersInterface
This class is a bag to manage the response headers
Methods
public set (mixed $name, mixed $value)
Sets a header to be sent at the end of the request
Gets a header value from the internal bag
Sets a raw header to be sent at the end of the request
Removes a header to be sent at the end of the request
public send ()
Sends the headers to the client
public reset ()
Reset set headers
public toArray ()
Returns the current headers as an array
public static __set_state (array $data)
Restore a \Phalcon\Http\Response\Headers object
General
Contributions
Getting Started
Tutorials
Environments
Development Tools
Database
Business Logic