1 | <?php |
||
5 | class TodoComment |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | private $file; |
||
11 | /** |
||
12 | * @var int |
||
13 | */ |
||
14 | private $lineNumber; |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $comment; |
||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | private $notDoneSince; |
||
23 | |||
24 | 15 | public function __construct(string $file, int $lineNumber, string $comment, int $notDoneSince) |
|
31 | |||
32 | public function isInSameFile(TodoComment $other): bool |
||
36 | |||
37 | public function file(): string |
||
41 | |||
42 | public function formatText(): string |
||
53 | } |
||
54 |