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