Cron\Report\JobReport::setSuccessful PHP Method

setSuccessful() public method

public setSuccessful ( boolean $state )
$state boolean
    public function setSuccessful($state)
    {
        $this->successful = $state;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * Register the end state.
  */
 protected function registerSuccessful()
 {
     $this->report->setSuccessful($this->getProcess()->isSuccessful());
 }