Conditions | 5 |
Paths | 5 |
Total Lines | 20 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
54 | public function init() |
||
55 | { |
||
56 | if ($this->key === null) { |
||
57 | throw new InvalidConfigException('The "key" property must be set.'); |
||
58 | } |
||
59 | |||
60 | if ($this->secret === null) { |
||
61 | throw new InvalidConfigException('The "secret" property must be set.'); |
||
62 | } |
||
63 | |||
64 | if ($this->bucket === null) { |
||
65 | throw new InvalidConfigException('The "bucket" property must be set.'); |
||
66 | } |
||
67 | |||
68 | if ($this->region === null) { |
||
69 | throw new InvalidConfigException('The "region" property must be set.'); |
||
70 | } |
||
71 | |||
72 | parent::init(); |
||
73 | } |
||
74 | |||
99 |