1 | <?php |
||
19 | final class YamlValidator |
||
20 | { |
||
21 | /** |
||
22 | * Checks that the content returned by the YAML parser has an understandable definition. |
||
23 | * |
||
24 | * @param $content |
||
25 | * @param $file |
||
26 | * |
||
27 | * @return mixed |
||
28 | * @throws InvalidArgumentException |
||
29 | */ |
||
30 | 18 | public function validate($content, $file) |
|
54 | } |
||
55 |