@@ -35,6 +35,9 @@ discard block |
||
| 35 | 35 | return $this->headers; |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | + /** |
|
| 39 | + * @return FilePath |
|
| 40 | + */ |
|
| 38 | 41 | public function getFilePath() { |
| 39 | 42 | return $this->filePath; |
| 40 | 43 | } |
@@ -63,6 +66,9 @@ discard block |
||
| 63 | 66 | return $this->valueParser; |
| 64 | 67 | } |
| 65 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $name |
|
| 71 | + */ |
|
| 66 | 72 | public function registerProperty($name, Property $property) { |
| 67 | 73 | $this->properties[$name] = $property; |
| 68 | 74 | } |
@@ -17,6 +17,9 @@ |
||
| 17 | 17 | $this->xPath = $xPath; |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @param integer $index |
|
| 22 | + */ |
|
| 20 | 23 | private function readArray($array, $index) { |
| 21 | 24 | return isset($array[$index]) ? $array[$index] : null; |
| 22 | 25 | } |