1 | <?php |
||
15 | class StorageConfig extends InjectableConfig |
||
16 | { |
||
17 | /** |
||
18 | * Configuration section. |
||
19 | */ |
||
20 | const CONFIG = 'storage'; |
||
21 | |||
22 | /** |
||
23 | * @var array |
||
24 | */ |
||
25 | protected $config = [ |
||
26 | 'servers' => [], |
||
27 | 'buckets' => [] |
||
28 | ]; |
||
29 | |||
30 | /** |
||
31 | * @param string $server |
||
32 | * @return bool |
||
33 | */ |
||
34 | public function hasServer($server) |
||
38 | |||
39 | /** |
||
40 | * @param string $server |
||
41 | * @return array |
||
42 | */ |
||
43 | public function serverOptions($server) |
||
47 | |||
48 | /** |
||
49 | * @return array |
||
50 | */ |
||
51 | public function getBuckets() |
||
55 | } |