Closed nursultanturdaliev closed 4 years ago
Following two codes are equal
$method = 'register' . ucfirst("picker") . 'Configuration'; $this->$method($configs["picker"], $container);
And
$this->registerPickerConfiguration($configs["picker"], $container);
:+1: Could also be refactored to simply
$container->setParameter('sc_datetimepicker.form.options', $configs['picker']['configs']);
No need to add useless methods call
Following two codes are equal
And