| 1 | <?php declare(strict_types = 1); |
||
| 8 | class FileCollection extends Collection |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Determines if the collection has any files left. |
||
| 12 | * @return boolean |
||
| 13 | */ |
||
| 14 | public function hasFiles(): bool |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Pops off the next file from the collection. |
||
| 21 | * @return File |
||
| 22 | */ |
||
| 23 | public function getNextFile(): File |
||
| 27 | } |
||
| 28 |