Beispiel #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();
 }
Beispiel #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();
 }
Beispiel #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();
 }