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