1 | <?php namespace Nord\Lumen\FileManager\Adapters; |
||
6 | class CloudinaryAdapter extends DiskAdapter |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * CloudinaryAdapter constructor. |
||
11 | * |
||
12 | * @param array $config |
||
13 | */ |
||
14 | public function __construct(array $config) |
||
20 | |||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | public function getName() |
||
29 | |||
30 | |||
31 | /** |
||
32 | * @inheritdoc |
||
33 | */ |
||
34 | public function saveFile($path, $contents, array $options) |
||
39 | |||
40 | |||
41 | /** |
||
42 | * @inheritdoc |
||
43 | */ |
||
44 | public function getFileUrl(File $file, array $options) |
||
48 | |||
49 | |||
50 | /** |
||
51 | * @param array $config |
||
52 | */ |
||
53 | private function configureClient(array $config) |
||
65 | } |
||
66 |