/** * (non-PHPdoc) * * @see \Symfony\Component\Console\Command\Command::configure() */ protected function configure() { $this->addArgument('input', InputArgument::OPTIONAL, 'Input File'); $this->addArgument('dest', InputArgument::OPTIONAL, 'Output Folder', 'src/AppBUndle/Resource/UML'); $this->addArgument('name', InputArgument::OPTIONAL, 'Name', 'Default'); parent::configure(); }
/** * (non-PHPdoc) * * @see \SK\ITCBundle\Code\AbstractGenerator\Generator::configure() */ protected function configure() { $this->addArgument('wsdl', InputArgument::OPTIONAL, 'WSDL File'); $this->addOption("clientClass", "client", InputOption::VALUE_OPTIONAL, "WSDL SOAP Client Class", 'SK\\ITCBundle\\SOAP\\Client'); $this->addOption("serverClass", "server", InputOption::VALUE_OPTIONAL, "WSDL SOAP Server Class", 'SK\\ITCBundle\\SOAP\\Server'); $this->addOption("namespace", "namespace", InputOption::VALUE_OPTIONAL, "WSDL SOAP Class Namespace", 'AppBundle'); parent::configure(); }
/** * (non-PHPdoc) * * @see \SK\ITCBundle\Code\Generator\AbstractGenerator::configure() */ protected function configure() { $this->addArgument('document', InputArgument::OPTIONAL, 'DTD File '); parent::configure(); }
/** * (non-PHPdoc) * * @see \Symfony\Component\Console\Command\Command::execute() */ public function execute(InputInterface $input, OutputInterface $output) { parent::execute($input, $output); $this->setDest($input->getArgument('dest')); $this->setDataCount($input->getArgument('dataCount')); }