Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function configure(ArrayNodeDefinition $builder)
 {
     $builder->children()->booleanNode('enabled')->defaultTrue()->end()->end();
     $this->driverNodeBuilder->buildDriverNodes($builder, 'active_image_drivers', 'image_drivers', ['local']);
 }
 private function configureDriverParams(ArrayNodeDefinition $builder)
 {
     $this->driverNodeBuilder->buildDriverNodes($builder, Config::CONFIG_PARAM_ACTIVE_IMAGE_DRIVERS, Config::CONFIG_PARAM_IMAGE_DRIVER_CONFIGS, [Config::DEFAULT_IMAGE_DRIVER_KEY]);
 }