예제 #1
0
 /**
  * @param DefinitionInterface $definition
  */
 private function printSuccess(DefinitionInterface $definition)
 {
     if ($this->printer->getVerbose()) {
         $this->printer->info('Successfully ran %s', $definition->getDescription());
     } else {
         $this->printer->printf('.');
     }
 }
예제 #2
0
 /**
  * Print a error message and exit
  *
  * @param string $message
  * @param int    $status
  */
 private function error(string $message, $status = 1)
 {
     $this->printer->printError($message);
     exit($status);
 }