コード例 #1
0
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('generate:test:directory')->setDescription('Generate a test classes based on a directory')->addArgument('directory', InputArgument::REQUIRED, 'The directory to generate a test classes for');
     parent::configure();
 }
コード例 #2
0
 /**
  * Configures the current command.
  */
 protected function configure()
 {
     $this->setName('generate:test:class')->setDescription('Generate a test class based on a class')->addArgument('file', InputArgument::REQUIRED, 'The class file to generate a test class for');
     parent::configure();
 }