/**
  * {@inheritDoc}
  */
 protected function configure()
 {
     $this->addOption('input_timezone', date_default_timezone_get());
     $this->addOption('output_timezone', date_default_timezone_get());
     $this->addOption('format', 'Y-m-d H:i:s');
     parent::configure();
 }
 /**
  * {@inheritDoc}
  */
 protected function configure()
 {
     $this->addOption('input_timezone', 'UTC');
     $this->addOption('output_timezone', 'UTC');
     $this->addOption('format', 'Y-m-d H:i:s');
     parent::configure();
 }
 /**
  * {@inheritDoc}
  */
 protected function configure()
 {
     $this->addOption('precision', null);
     $this->addOption('grouping', false);
     $this->addOption('rounding-mode', self::ROUND_HALFUP);
     parent::configure();
 }
 /**
  * {@inheritDoc}
  */
 protected function configure()
 {
     $this->addOption('type', self::FRACTIONAL);
     $this->addOption('precision', 0);
     if (!in_array($this->getOption('type'), self::$types, true)) {
         throw new \InvalidArgumentException(sprintf('The option "type" is expected to be one of "%s"', implode('", "', self::$types)));
     }
     parent::configure();
 }
 protected function configure()
 {
     $this->addOption('trim', true);
     $this->addOption('separator', ',');
     $this->addOption('explode_callback', 'explode');
     $this->addOption('implode_callback', 'implode');
     $this->addOption('create_instance_callback', null);
     $this->addRequiredOption('em');
     $this->addRequiredOption('class_name');
     $this->addRequiredOption('field_name');
     parent::configure();
 }