@@ 259-270 (lines=12) @@ | ||
256 | * |
|
257 | * @return Extension $this Fluent interface. |
|
258 | */ |
|
259 | protected function configureSourceType(array $config, ContainerBuilder $container) |
|
260 | { |
|
261 | $definition = $container->getDefinition('run_open_code.exchange_rate.form_type.source_type'); |
|
262 | ||
263 | $arguments = $definition->getArguments(); |
|
264 | ||
265 | $arguments[1] = $config['form_types']['source_type']; |
|
266 | ||
267 | $definition->setArguments($arguments); |
|
268 | ||
269 | return $this; |
|
270 | } |
|
271 | ||
272 | /** |
|
273 | * Configure "RunOpenCode\\Bundle\\ExchangeRate\\Form\\Type\\RateTypeType" default settings. |
|
@@ 280-291 (lines=12) @@ | ||
277 | * |
|
278 | * @return Extension $this Fluent interface. |
|
279 | */ |
|
280 | protected function configureRateTypeType(array $config, ContainerBuilder $container) |
|
281 | { |
|
282 | $definition = $container->getDefinition('run_open_code.exchange_rate.form_type.rate_type_type'); |
|
283 | ||
284 | $arguments = $definition->getArguments(); |
|
285 | ||
286 | $arguments[1] = $config['form_types']['rate_type_type']; |
|
287 | ||
288 | $definition->setArguments($arguments); |
|
289 | ||
290 | return $this; |
|
291 | } |
|
292 | ||
293 | /** |
|
294 | * Configure "RunOpenCode\\Bundle\\ExchangeRate\\Form\\Type\\CurrencyCodeType" default settings. |
|
@@ 322-334 (lines=13) @@ | ||
319 | * |
|
320 | * @return Extension $this Fluent interface. |
|
321 | */ |
|
322 | protected function configureForeignCurrencyCodeType(array $config, ContainerBuilder $container) |
|
323 | { |
|
324 | ||
325 | $definition = $container->getDefinition('run_open_code.exchange_rate.form_type.foreign_currency_code_type'); |
|
326 | ||
327 | $arguments = $definition->getArguments(); |
|
328 | ||
329 | $arguments[1] = $config['form_types']['foreign_currency_code_type']; |
|
330 | ||
331 | $definition->setArguments($arguments); |
|
332 | ||
333 | return $this; |
|
334 | } |
|
335 | ||
336 | /** |
|
337 | * Configure "RunOpenCode\\Bundle\\ExchangeRate\\Form\\Type\\RateType" default settings. |
|
@@ 344-355 (lines=12) @@ | ||
341 | * |
|
342 | * @return Extension $this Fluent interface. |
|
343 | */ |
|
344 | protected function configureRateType(array $config, ContainerBuilder $container) |
|
345 | { |
|
346 | $definition = $container->getDefinition('run_open_code.exchange_rate.form_type.rate_type'); |
|
347 | ||
348 | $arguments = $definition->getArguments(); |
|
349 | ||
350 | $arguments[1] = $config['form_types']['rate_type']; |
|
351 | ||
352 | $definition->setArguments($arguments); |
|
353 | ||
354 | return $this; |
|
355 | } |
|
356 | } |
|
357 |