Test Setup Failed
Pull Request — master (#7)
by Matthew
14:04
created

Job   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 17
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTtr() 0 4 1
A setTtr() 0 4 1
1
<?php
2
3
namespace Dtc\QueueBundle\Beanstalkd;
4
5
use Dtc\QueueBundle\Model\Job as BaseJob;
6
7
class Job extends BaseJob
8
{
9
    protected $ttr = 3600;
10
11
    public function getTtr()
12
    {
13
        return $this->ttr;
14
    }
15
16
    /**
17
     * @param $ttr
18
     */
19
    public function setTtr($ttr)
20
    {
21
        $this->ttr = $ttr;
22
    }
23
}
24