Completed
Push — master ( e02161...971421 )
by Matthew
12:50
created

JobTiming   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 30
ccs 0
cts 5
cp 0
rs 10
c 1
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 4 1
1
<?php
2
3
namespace Dtc\QueueBundle\Entity;
4
5
use Dtc\QueueBundle\Model\JobTiming as BaseJobTiming;
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * @ORM\Entity
10
 * @ORM\Table(name="dtc_queue_job_timing", indexes={@ORM\Index(name="job_timing_finished_at", columns={"finished_at"})})
11
 */
12
class JobTiming extends BaseJobTiming
13
{
14
    /**
15
     * @ORM\Column(type="bigint")
16
     * @ORM\Id
17
     * @ORM\GeneratedValue(strategy="AUTO")
18
     */
19
    protected $id;
20
21
    /**
22
     * @ORM\Column(type="datetime")
23
     */
24
    protected $finishedAt;
25
26
    /**
27
     * @return mixed
28
     */
29
    public function getId()
30
    {
31
        return $this->id;
32
    }
33
34
    /**
35
     * @param mixed $id
36
     */
37
    public function setId($id)
38
    {
39
        $this->id = $id;
40
    }
41
}
42