@@ -16,11 +16,18 @@ |
||
16 | 16 | |
17 | 17 | protected $contentTypes = array('text/xml', 'application/xml'); |
18 | 18 | |
19 | + /** |
|
20 | + * @param boolean $isIndex |
|
21 | + */ |
|
19 | 22 | private function getSchema($isIndex) |
20 | 23 | { |
21 | 24 | return ($isIndex) ? __DIR__ . '/' . self::INDEX : __DIR__ . '/' . self::SCHEMA; |
22 | 25 | } |
23 | 26 | |
27 | + /** |
|
28 | + * @param \Psr\Http\Message\StreamInterface $body |
|
29 | + * @param string $filename |
|
30 | + */ |
|
24 | 31 | private function validateBody($body, $filename, $isIndex = TRUE) |
25 | 32 | { |
26 | 33 | $dom = new \DOMDocument(); |