public isSuccessful ( ) : boolean | ||
Результат | boolean | true if the process ended successfully, false otherwise |
public function isSuccessful()
{
return 0 === $this->getExitCode();
}
/** * @inheritDoc */ public function isSuccessful() { if ($this->symfonyProcess->isSuccessful()) { echo "[33m{$this->job->jobName()}: [36mHas finished without errors.\n"; } return $this->symfonyProcess->isSuccessful(); }