public function updateTaskReport($taskId, $report)
    {
        if ($this->getPersistence()->has($taskId)) {
            $this->getPersistence()->setReport($taskId, $report);
        }
        return $this;
    }
public function updateTaskReport($taskId, $report)
    {
        if ($this->getPersistence()->has($taskId)) {
            $this->getPersistence()->setReport($taskId, $report);
        }
        return $this;
    }
public function updateTaskReport ( $ taskId , $ report ) { if ( $ this -> getPersistence ( ) -> has ( $ taskId ) ) { $ this -> getPersistence ( ) -> setReport ( $ taskId , $ report ) ; } return $ this ; }
set task report using  task persistence

@deprecated since version 7.10.0, to be removed in 8.0.

@param $taskId
@param $report
@return self
set task report using task persistence