| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 12 | final class NumericAnnotationGlyph implements TokenInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var int |
||
| 16 | */ |
||
| 17 | private $value; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Initializes a new instance of this class. |
||
| 21 | * |
||
| 22 | * @param int $value |
||
| 23 | */ |
||
| 24 | public function __construct(int $value) |
||
| 25 | { |
||
| 26 | $this->value = $value; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Gets the value of field "value". |
||
| 31 | * |
||
| 32 | * @return int |
||
| 33 | */ |
||
| 34 | public function getValue(): int |
||
| 35 | { |
||
| 36 | return $this->value; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Gets the type of this token. |
||
| 41 | * |
||
| 42 | * @return int |
||
| 43 | */ |
||
| 44 | public function getType(): int |
||
| 47 | } |
||
| 48 | } |
||
| 49 |