| 1 | <?php |
||
| 12 | class ArchiveLoader |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $archiveClass; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Constructor |
||
| 22 | * |
||
| 23 | * @param string $archiveClass The class of loaded objects |
||
| 24 | */ |
||
| 25 | public function __construct($archiveClass) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Opens the given archive |
||
| 32 | * |
||
| 33 | * @param string $path |
||
| 34 | * |
||
| 35 | * @return Archive |
||
| 36 | */ |
||
| 37 | public function open($path) |
||
| 41 | } |
||
| 42 |