Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
1 / 1 |
Identifier | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
getValue | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | namespace PhpOffice\Math\Element; |
4 | |
5 | class Identifier extends AbstractElement |
6 | { |
7 | /** |
8 | * @var string |
9 | */ |
10 | protected $value; |
11 | |
12 | public function __construct(string $value) |
13 | { |
14 | $this->value = $value; |
15 | } |
16 | |
17 | public function getValue(): string |
18 | { |
19 | return $this->value; |
20 | } |
21 | } |