Test   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 54
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 54
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getMessage() 0 4 1
A setMessage() 0 4 1
A getExecutor() 0 4 1
A setExecutor() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the PostmanGeneratorBundle package.
5
 *
6
 * (c) Vincent Chalamon <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace PostmanGeneratorBundle\Model;
13
14
class Test
15
{
16
    /**
17
     * @var string
18
     */
19
    private $message;
20
21
    /**
22
     * @var string
23
     */
24
    private $executor;
25
26
    /**
27
     * @param string $message
28
     * @param string $executor
29
     */
30
    public function __construct($message = null, $executor = null)
31
    {
32
        $this->message = $message;
33
        $this->executor = $executor;
34
    }
35
36
    /**
37
     * @return string
38
     */
39
    public function getMessage()
40
    {
41
        return $this->message;
42
    }
43
44
    /**
45
     * @param string $message
46
     */
47
    public function setMessage($message)
48
    {
49
        $this->message = $message;
50
    }
51
52
    /**
53
     * @return string
54
     */
55
    public function getExecutor()
56
    {
57
        return $this->executor;
58
    }
59
60
    /**
61
     * @param string $executor
62
     */
63
    public function setExecutor($executor)
64
    {
65
        $this->executor = $executor;
66
    }
67
}
68