class job_attempt_repository extends abstract_repository implements job_attempt_repository_interface

internal  
 

Repository for middag_job_attempt.

Constants

private TABLE_ATTEMPT

private TABLE_JOB

Methods

__construct(job_attempt_mapper $mapper)

No description

void
add_attempt(int $jobid, job_attempt_interface $attempt)

Persist one attempt for a job and update job summary counters.

array
find_by_job(int $jobid)

No description

Details

at line 35
__construct(job_attempt_mapper $mapper)

No description

Parameters

job_attempt_mapper $mapper

at line 39
void add_attempt(int $jobid, job_attempt_interface $attempt)

Persist one attempt for a job and update job summary counters.

Parameters

int $jobid
job_attempt_interface $attempt

Return Value

void

Exceptions

dml_exception

at line 58
array find_by_job(int $jobid)

No description

Parameters

int $jobid

Return Value

array

Exceptions

dml_exception