@@ 121-129 (lines=9) @@ | ||
118 | * |
|
119 | * @return array |
|
120 | */ |
|
121 | public function createYamlDriver(FileLocatorInterface $locator) |
|
122 | { |
|
123 | $drivers = array(); |
|
124 | foreach ($this->drivers['yaml'] as $driver) { |
|
125 | $drivers[] = new $driver($locator); |
|
126 | } |
|
127 | ||
128 | return $drivers; |
|
129 | } |
|
130 | ||
131 | /** |
|
132 | * @param FileLocatorInterface $locator |
|
@@ 136-144 (lines=9) @@ | ||
133 | * |
|
134 | * @return array |
|
135 | */ |
|
136 | public function createXmlDriver(FileLocatorInterface $locator) |
|
137 | { |
|
138 | $drivers = array(); |
|
139 | foreach ($this->drivers['xml'] as $driver) { |
|
140 | $drivers[] = new $driver($locator); |
|
141 | } |
|
142 | ||
143 | return $drivers; |
|
144 | } |
|
145 | ||
146 | /** |
|
147 | * @param string $driver |