OrchestratorBootstrap::getBaseVirtualHost()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace TheAentMachine\Aent\Event\Bootstrap\Model;
4
5
use TheAentMachine\Aent\Registry\AentItemRegistry;
6
7
final class OrchestratorBootstrap
8
{
9
    /** @var AentItemRegistry */
10
    private $aent;
11
12
    /** @var string */
13
    private $environmentType;
14
15
    /** @var string */
16
    private $environmentName;
17
18
    /** @var string */
19
    private $baseVirtualHost;
20
21
    /**
22
     * @return AentItemRegistry
23
     */
24
    public function getAent(): AentItemRegistry
25
    {
26
        return $this->aent;
27
    }
28
29
    /**
30
     * @param AentItemRegistry $aent
31
     * @return self
32
     */
33
    public function setAent(AentItemRegistry $aent): self
34
    {
35
        $this->aent = $aent;
36
        return $this;
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getEnvironmentType(): string
43
    {
44
        return $this->environmentType;
45
    }
46
47
    /**
48
     * @param string $environmentType
49
     * @return self
50
     */
51
    public function setEnvironmentType(string $environmentType): self
52
    {
53
        $this->environmentType = $environmentType;
54
        return $this;
55
    }
56
57
    /**
58
     * @return string
59
     */
60
    public function getEnvironmentName(): string
61
    {
62
        return $this->environmentName;
63
    }
64
65
    /**
66
     * @param string $environmentName
67
     * @return self
68
     */
69
    public function setEnvironmentName(string $environmentName): self
70
    {
71
        $this->environmentName = $environmentName;
72
        return $this;
73
    }
74
75
    /**
76
     * @return string
77
     */
78
    public function getBaseVirtualHost(): string
79
    {
80
        return $this->baseVirtualHost;
81
    }
82
83
    /**
84
     * @param string $baseVirtualHost
85
     * @return self
86
     */
87
    public function setBaseVirtualHost(string $baseVirtualHost): self
88
    {
89
        $this->baseVirtualHost = $baseVirtualHost;
90
        return $this;
91
    }
92
}
93