| 1 | <?php |
||
| 9 | class Composite implements Storage |
||
| 10 | { |
||
| 11 | /** @var Storage[] */ |
||
| 12 | private $storages; |
||
| 13 | |||
| 14 | public function __construct(Storage ...$storages) |
||
| 18 | |||
| 19 | public function store(string $pathOrBody, string $targetDocName, string $oldDocName = '') : string |
||
| 27 | |||
| 28 | public function retrieve(string $docName) : string |
||
| 36 | |||
| 37 | public function getUrl(string $docName) : string |
||
| 45 | } |
||
| 46 |