private function saveReport(JobConfigurationInterface $configuration)
    {
        $report = $this->reportManager->create($configuration);
        $report
            ->setEndedAt()
            ->setOutput('Job was dead and restored.')
            ->setSuccessful(true);

        $this->reportManager->add($report, true);
    }
private function saveReport(JobConfigurationInterface $configuration)
    {
        $report = $this->reportManager->create($configuration);
        $report
            ->setEndedAt()
            ->setOutput('Job was dead and restored.')
            ->setSuccessful(true);

        $this->reportManager->add($report, true);
    }
private function saveReport ( JobConfigurationInterface $ configuration ) { $ report = $ this -> reportManager -> create ( $ configuration ) ; $ report -> setEndedAt ( ) -> setOutput ( 'Job was dead and restored.' ) -> setSuccessful ( true ) ; $ this -> reportManager -> add ( $ report , true ) ; }
Create restored job report.

@param JobConfigurationInterface $configuration

@return JobReportInterface
Create restored job report .