Completed
Push — master ( 6c3722...239355 )
by Matthew
19:49 queued 17:50
created

Job::getBeanJob()   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 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Dtc\QueueBundle\Beanstalkd;
4
5
use Dtc\QueueBundle\Model\MessageableJob;
6
7
class Job extends MessageableJob
8
{
9
    protected $beanJob;
10
11
    protected $ttr = 3600;
12
13
    /**
14
     * @return mixed
15
     */
16
    public function getBeanJob()
17
    {
18
        return $this->beanJob;
19
    }
20
21
    /**
22
     * @param mixed $beanJob
23
     */
24 4
    public function setBeanJob($beanJob)
25
    {
26 4
        $this->beanJob = $beanJob;
27 4
    }
28
29 4
    public function getTtr()
30
    {
31 4
        return $this->ttr;
32
    }
33
34
    /**
35
     * @param $ttr
36
     */
37
    public function setTtr($ttr)
38
    {
39
        $this->ttr = $ttr;
40
    }
41
}
42