Completed
Push — master ( 971421...d8f9fb )
by Matthew
09:04
created

JobTiming   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

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 1
    public function getId()
30
    {
31 1
        return $this->id;
32
    }
33
34
    /**
35
     * @param mixed $id
36
     */
37 1
    public function setId($id)
38
    {
39 1
        $this->id = $id;
40 1
    }
41
}
42