src/Model/Table/QueuedJobsTable.php
public function markJobDone(QueuedJob $job) {
		$fields = [
			'completed' => $this->getDateTime(),
		];
		$job = $this->patchEntity($job, $fields);

		return (bool)$this->save($job);
	}
public function markJobDone(QueuedJob $job) {
		$fields = [
			'completed' => $this->getDateTime(),
		];
		$job = $this->patchEntity($job, $fields);

		return (bool)$this->save($job);
	}
public function markJobDone ( QueuedJob $ job ) { $ fields = [ 'completed' => $ this -> getDateTime ( ) , ] ; $ job = $ this -> patchEntity ( $ job , $ fields ) ; return ( bool ) $ this -> save ( $ job ) ; }
Mark a job as Completed, removing it from the queue.

@param \Queue\Model\Entity\QueuedJob $job Job
@return bool Success
Mark a job as Completed removing it from the queue .