public function bindCommand(Command $command) { $this->command = $command; $this->options($command->getOptionCollection()); // $this->arguments( ); $this->config = $command->getApplication()->getGlobalConfig(); $this->setServiceContainer($command->getApplication()->getService()); $this->init(); }