MegaTestDependantClass::getAwesome()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
4
namespace Deployee\Components\Dependency\Test;
5
6
7
use Deployee\Components\Container\ContainerInterface;
8
9
class MegaTestDependantClass
10
{
11
    const INT_VALUE = 1337;
12
13
    /**
14
     * @var AwesomeTestDependencyClass
15
     */
16
    private $awesome;
17
18
    /**
19
     * @var ContainerInterface
20
     */
21
    private $container;
22
23
    /**
24
     * @var int
25
     */
26
    private $intValue = self::INT_VALUE;
27
28
    public function setSomeWeiredSetterName(AwesomeTestDependencyClass $weiredObject)
29
    {
30
        $this->awesome = $weiredObject;
31
    }
32
33
    public function setContainer(ContainerInterface $container)
34
    {
35
        $this->container = $container;
36
    }
37
38
    /**
39
     * @return AwesomeTestDependencyClass
40
     */
41
    public function getAwesome()
42
    {
43
        return $this->awesome;
44
    }
45
46
    /**
47
     * @return ContainerInterface
48
     */
49
    public function getContainer()
50
    {
51
        return $this->container;
52
    }
53
54
    /**
55
     * @return int
56
     */
57
    public function getIntValue(): int
58
    {
59
        return $this->intValue;
60
    }
61
62
    /**
63
     * @param int $intValue
64
     */
65
    public function setIntValue(int $intValue)
66
    {
67
        $this->intValue = $intValue;
68
    }
69
}