1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace ApiGen\Index; |
4: | |
5: | use ApiGen\Info\ClassLikeInfo; |
6: | use ApiGen\Info\FunctionInfo; |
7: | |
8: | |
9: | class FileIndex |
10: | { |
11: | /** @var ClassLikeInfo[] indexed by [classLikeName] */ |
12: | public array $classLike = []; |
13: | |
14: | /** @var FunctionInfo[] indexed by [functionName] */ |
15: | public array $function = []; |
16: | |
17: | |
18: | public function __construct( |
19: | public string $path, |
20: | public bool $primary, |
21: | ) { |
22: | } |
23: | } |
24: |