Headers.php
1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
namespace Phalcon\Http\Response {
/**
* Phalcon\Http\Response\Headers
*
* This class is a bag to manage the response headers
*/
class Headers implements \Phalcon\Http\Response\HeadersInterface {
protected $_headers;
/**
* Sets a header to be sent at the end of the request
*
* @param string $name
* @param string $value
*/
public function set($name, $value){ }
/**
* Gets a header value from the internal bag
*
* @param string $name
* @return string
*/
public function get($name){ }
/**
* Sets a raw header to be sent at the end of the request
*
* @param string $header
*/
public function setRaw($header){ }
/**
* Sends the headers to the client
*
* @return boolean
*/
public function send(){ }
/**
* Reset set headers
*
*/
public function reset(){ }
/**
* Restore a \Phalcon\Http\Response\Headers object
*
* @param array $data
* @return \Phalcon\Http\Response\Headers
*/
public static function __set_state($data){ }
}
}