File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55class HeaderBag
66{
7- public $ data = '' ;
8-
97 public $ attributes = array (
108 'qdCount ' => 0 ,
119 'anCount ' => 0 ,
@@ -21,6 +19,11 @@ class HeaderBag
2119 'rcode ' => Message::RCODE_OK ,
2220 );
2321
22+ /**
23+ * @deprecated unused, exists for BC only
24+ */
25+ public $ data = '' ;
26+
2427 public function get ($ name )
2528 {
2629 return isset ($ this ->attributes [$ name ]) ? $ this ->attributes [$ name ] : null ;
Original file line number Diff line number Diff line change @@ -78,14 +78,20 @@ private static function generateId()
7878 return mt_rand (0 , 0xffff );
7979 }
8080
81- public $ data = '' ;
82-
8381 public $ header ;
8482 public $ questions = array ();
8583 public $ answers = array ();
8684 public $ authority = array ();
8785 public $ additional = array ();
8886
87+ /**
88+ * @deprecated still used internally for BC reasons, should not be used externally.
89+ */
90+ public $ data = '' ;
91+
92+ /**
93+ * @deprecated still used internally for BC reasons, should not be used externally.
94+ */
8995 public $ consumed = 0 ;
9096
9197 public function __construct ()
You can’t perform that action at this time.
0 commit comments