/** * @param DefinitionInterface $definition */ private function printSuccess(DefinitionInterface $definition) { if ($this->printer->getVerbose()) { $this->printer->info('Successfully ran %s', $definition->getDescription()); } else { $this->printer->printf('.'); } }
/** * 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); }