Example #1
0
 /**
  * execute
  *
  * @see Command
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
     $this->schema = $input->getArgument('schema');
     if (!$this->schema) {
         $this->schema = 'public';
     }
     $this->prefix_dir = $input->getOption('prefix-dir');
     $this->prefix_ns = $input->getOption('prefix-ns');
     $this->flexible_container = $input->getOption('flexible-container');
 }
Example #2
0
 /**
  * execute
  *
  * @see Command
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
     $info = $this->getSession()->getInspector()->getSchemas();
     $this->formatOutput($output, $info);
 }