Total Complexity | 7 |
Total Lines | 74 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | class THttpHeader extends \Prado\TComponent |
||
23 | { |
||
24 | /** |
||
25 | * @var THttpHeadersManager the URL manager instance |
||
26 | */ |
||
27 | private $_manager; |
||
28 | /** |
||
29 | * @var string Name |
||
30 | */ |
||
31 | protected $_name; |
||
32 | |||
33 | /** |
||
34 | * @var string Value |
||
35 | */ |
||
36 | protected $_value; |
||
37 | |||
38 | /** |
||
39 | * Constructor. |
||
40 | * @param THttpHeadersManager $manager the headers manager instance |
||
41 | */ |
||
42 | public function __construct(THttpHeadersManager $manager) |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @return THttpHeadersManager the URL manager instance |
||
50 | */ |
||
51 | public function getManager() |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * Initializes the header. |
||
58 | * @param \Prado\Xml\TXmlElement $config configuration for this module. |
||
59 | */ |
||
60 | public function init($config) |
||
|
|||
61 | { |
||
62 | } |
||
63 | |||
64 | /** |
||
65 | * @return string the textual name of the header. |
||
66 | */ |
||
67 | public function getName() |
||
68 | { |
||
69 | return $this->_name; |
||
70 | } |
||
71 | |||
72 | /** |
||
73 | * Sets the textual name of the header |
||
74 | * @param string $name the texttual name |
||
75 | */ |
||
76 | public function setName($name) |
||
77 | { |
||
78 | $this->_name = $name; |
||
79 | } |
||
80 | |||
81 | /** |
||
82 | * @return string the textual value of the header. |
||
83 | */ |
||
84 | public function getValue() |
||
87 | } |
||
88 | |||
89 | /** |
||
90 | * Sets the textual value of the header |
||
91 | * @param string $value the texttual value |
||
92 | */ |
||
93 | public function setValue($value) |
||
96 | } |
||
97 | } |
||
98 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.