コード例 #1
0
 protected function _runInitTask()
 {
     $initTask = new sfPhpunitInitTask($this->dispatcher, $this->formatter);
     $initTask->run(array(), array());
     //      '--overwrite' => $this->_isOverwrite(),
     //      '--verbose' => $this->_isVerbose()));
 }
コード例 #2
0
 /**
  * Listen for event: command.post_command
  * 
  * @param sfEvent $event
  */
 public function postInstall(sfEvent $event)
 {
     $initTask = new sfPhpunitInitTask($this->_getProjectConfiguration()->getEventDispatcher(), new sfAnsiColorFormatter());
     $initTask->run();
 }