1 | <?php |
||
21 | final class IncludeCollector |
||
22 | { |
||
23 | /** @var list<string> */ |
||
24 | private $included_files = []; |
||
25 | |||
26 | /** |
||
27 | * @template T |
||
28 | * @param callable():T $f |
||
|
|||
29 | * @return T |
||
30 | */ |
||
31 | public function runAndCollect(callable $f) |
||
43 | |||
44 | /** @return list<string> */ |
||
45 | public function getIncludedFiles(): array |
||
49 | |||
50 | /** @return list<string> */ |
||
51 | public function getFilteredIncludedFiles(): array |
||
55 | } |
||
56 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.