1 | <?php |
||
11 | class Container |
||
12 | { |
||
13 | /** |
||
14 | * @var YamlData |
||
15 | */ |
||
16 | private $yamlData; |
||
17 | |||
18 | /** |
||
19 | * @var null|array |
||
20 | */ |
||
21 | private $resultData = null; |
||
22 | |||
23 | /** |
||
24 | * @param YamlData $yamlData |
||
25 | */ |
||
26 | public function __construct(YamlData $yamlData) |
||
30 | |||
31 | /** |
||
32 | * @param string $name |
||
33 | * @return $this |
||
34 | * @throws AyamlSchemaNotFoundException |
||
35 | */ |
||
36 | public function schema($name) |
||
42 | |||
43 | /** |
||
44 | * @param array $overwrites |
||
45 | * @return $this |
||
46 | * @throws AyamlNoExistingKeyException |
||
47 | * @throws AyamlSchemaNotSpecifiedException |
||
48 | */ |
||
49 | public function with(array $overwrites) |
||
64 | |||
65 | /** |
||
66 | * @return array|null |
||
67 | */ |
||
68 | public function dump() |
||
72 | } |
||
73 |