ProgressiveAction   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 3
Bugs 1 Features 0
Metric Value
eloc 5
c 3
b 1
f 0
dl 0
loc 27
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setProgressive() 0 5 1
A getProgressive() 0 3 1
1
<?php
2
3
namespace LeKoala\CmsActions;
4
5
trait ProgressiveAction
6
{
7
    /**
8
     * @var bool
9
     */
10
    protected $progressive = false;
11
12
    /**
13
     * Get the value of progressive
14
     * @return mixed
15
     */
16
    public function getProgressive()
17
    {
18
        return $this->progressive;
19
    }
20
21
    /**
22
     * Set the value of progressive
23
     *
24
     * @param mixed $progressive
25
     * @return $this
26
     */
27
    public function setProgressive($progressive)
28
    {
29
        $this->progressive = $progressive;
30
31
        return $this;
32
    }
33
}
34