1 | <?php |
||
5 | class Line |
||
6 | { |
||
7 | const TYPE_URI = 'uri'; |
||
8 | const TYPE_TAG = 'tag'; |
||
9 | |||
10 | private $tag; |
||
11 | |||
12 | private $value; |
||
13 | |||
14 | public function __construct($tag = null, $value = null) |
||
23 | |||
24 | static public function fromString($line) |
||
44 | |||
45 | public function getTag() |
||
49 | |||
50 | public function getValue() |
||
54 | |||
55 | public function isType($type) |
||
59 | |||
60 | public function __toString() |
||
76 | |||
77 | private function getType() |
||
85 | } |
||
86 |