Exemplo n.º 1
0
 /**
  * (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();
 }
Exemplo n.º 4
0
 /**
  * (non-PHPdoc)
  *
  * @see \Symfony\Component\Console\Command\Command::configure()
  */
 protected function configure()
 {
     $this->addArgument('dest', InputArgument::OPTIONAL, 'Destination tests directory', "tests");
     $this->addArgument('dataCount', InputArgument::OPTIONAL, 'Dataset permutation count (1) default', 1);
     parent::configure();
     $this->addOption("override", "o", InputOption::VALUE_OPTIONAL, "Override outputs yes/no, default no", self::OPTION_OVERRIDE_OUTPUT_NO);
     $this->addOption("remove-orphaned", "ro", InputOption::VALUE_OPTIONAL, "Remove orphaned yes/no, default no", self::OPTION_REMOVED_ORPHANED_NO);
     $this->addOption("verbose-output", "vo", InputOption::VALUE_OPTIONAL, "Verbose output yes/no,  default no", self::OPTION_VERBOSE_OUTPUT_NO);
 }