| Total Complexity | 3 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | final class Artifact |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $name; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var mixed |
||
| 20 | */ |
||
| 21 | private $value; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Artifact constructor. |
||
| 25 | * @param string $name |
||
| 26 | * |
||
| 27 | * @param $value |
||
| 28 | */ |
||
| 29 | 18 | public function __construct(string $name, $value) |
|
| 30 | { |
||
| 31 | 18 | $this->name = $name; |
|
| 32 | 18 | $this->value = $value; |
|
| 33 | 18 | } |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | 15 | public function getName(): string |
|
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return mixed |
||
| 45 | */ |
||
| 46 | 4 | public function getValue() |
|
| 49 | } |
||
| 50 | } |