Test Failed
Branch main (8f4107)
by Bingo
08:27 queued 02:15
created

ProcessEngineDetails::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 2
1
<?php
2
3
namespace Jabe\Engine\Impl\Util;
4
5
class ProcessEngineDetails
6
{
7
    public const EDITION_ENTERPRISE = "enterprise";
8
    public const EDITION_COMMUNITY = "community";
9
10
    protected $version;
11
    protected $edition;
12
13
    public function __construct(string $version, string $edition)
14
    {
15
        $this->version = $version;
16
        $this->edition = $edition;
17
    }
18
19
    public function getVersion(): string
20
    {
21
        return $this->version;
22
    }
23
24
    public function setVersion(string $version): void
25
    {
26
        $this->version = $version;
27
    }
28
29
    public function getEdition(): string
30
    {
31
        return $this->edition;
32
    }
33
34
    public function setEdition(string $edition): void
35
    {
36
        $this->edition = $edition;
37
    }
38
}
39