Ejemplo n.º 1
0
 /**
  * @see Console\Command\Command
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $this->config->load();
     $this->config['parameters']['administration']['login']['name'] = $input->getArgument('login');
     $this->config['parameters']['administration']['login']['password'] = $input->getArgument('password');
     $this->config->save();
 }
Ejemplo n.º 2
0
 /**
  * @see Console\Command\Command
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $this->config->load();
     foreach ($this->options as $option) {
         if ($input->getOption($option)) {
             $this->config['parameters']['database'][$option] = $input->getOption($option);
         }
     }
     $this->config->save();
 }
Ejemplo n.º 3
0
 /**
  * @see Console\Command\Command
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $this->config->load();
     $this->config['parameters']['website']['theme'] = Strings::lower($input->getArgument('theme')) == 'null' ? NULL : $input->getArgument('theme');
     $this->config->save();
 }