Changeset 24018
- Timestamp:
- 11/16/09 16:13:01 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.3/lib/task/generator/sfGenerateAppTask.class.php
r23203 r24018 24 24 * @see sfTask 25 25 */ 26 protected function doRun(sfCommandManager $commandManager, $options)27 {28 $this->process($commandManager, $options);29 30 $this->checkProjectExists();31 32 return $this->execute($commandManager->getArgumentValues(), $commandManager->getOptionValues());33 }34 35 /**36 * @see sfTask37 */38 26 protected function configure() 39 27 { 40 28 $this->addArguments(array( 41 new sfCommandArgument('app lication', sfCommandArgument::REQUIRED, 'The application name'),29 new sfCommandArgument('app', sfCommandArgument::REQUIRED, 'The application name'), 42 30 )); 43 31 … … 94 82 protected function execute($arguments = array(), $options = array()) 95 83 { 96 $app = $arguments['app lication'];84 $app = $arguments['app']; 97 85 98 86 // Validate the application name