Completed
Push — master ( 72f544...07d9db )
by Sebastian
06:33
created

Abstraction::isSimulation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace phpbu\App\Runner;
3
4
/**
5
 * Task Runner Interface
6
 *
7
 * @package    phpbu
8
 * @subpackage App
9
 * @author     Sebastian Feldmann <[email protected]>
10
 * @copyright  Sebastian Feldmann <[email protected]>
11
 * @license    https://opensource.org/licenses/MIT The MIT License (MIT)
12
 * @link       http://phpbu.de/
13
 * @since      Class available since Release 3.0.0
14
 */
15
abstract class Abstraction implements Task
16
{
17
    /**
18
     * Is simulation run.
19
     *
20
     * @var bool
21
     */
22
    protected $isSimulation;
23
24
    /**
25
     * Set is simulation
26
     *
27
     * @param $bool
28
     */
29
    public function setSimulation($bool)
30
    {
31
        $this->isSimulation = $bool;
32
    }
33
34
    /**
35
     * Is simulation getter.
36
     *
37
     * @return bool
38
     */
39
    public function isSimulation()
40
    {
41
        return $this->isSimulation;
42
    }
43
}
44