1 | <?php |
||
8 | class Manifest implements Countable |
||
9 | { |
||
10 | /** @var string */ |
||
11 | protected $manifestPath; |
||
12 | |||
13 | public static function create(string $manifestPath): self |
||
17 | |||
18 | public function __construct(string $manifestPath) |
||
24 | |||
25 | public function path(): string |
||
29 | |||
30 | /** |
||
31 | * @param array|string $filePaths |
||
32 | * |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function addFiles($filePaths): self |
||
49 | |||
50 | /** |
||
51 | * @return \Generator|string[] |
||
52 | */ |
||
53 | public function files() |
||
65 | |||
66 | public function count(): int |
||
74 | } |
||
75 |