| 1 | <?php  | 
            ||
| 12 | class SharedStringsLoader  | 
            ||
| 13 | { | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | *  | 
            ||
| 17 | * @var string  | 
            ||
| 18 | */  | 
            ||
| 19 | protected $sharedStringsClass;  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * Constructor  | 
            ||
| 23 | *  | 
            ||
| 24 | * @param string $sharedStringsClass The class for created objects  | 
            ||
| 25 | */  | 
            ||
| 26 | public function __construct($sharedStringsClass)  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * Creates a SharedStrings from the archive  | 
            ||
| 33 | *  | 
            ||
| 34 | * @param string $path  | 
            ||
| 35 | * @param Archive $archive The Archive from which the path was extracted  | 
            ||
| 36 | *  | 
            ||
| 37 | * @return SharedStrings  | 
            ||
| 38 | */  | 
            ||
| 39 | public function open($path, Archive $archive)  | 
            ||
| 43 | |||
| 44 | }  | 
            ||
| 45 |