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

JobTiming::getId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
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