| Conditions | 5 |
| Paths | 5 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function init() |
||
| 32 | { |
||
| 33 | if ($this->accessId === null) { |
||
| 34 | throw new InvalidConfigException('The "accessId" property must be set.'); |
||
| 35 | } |
||
| 36 | |||
| 37 | if ($this->accessSecret === null) { |
||
| 38 | throw new InvalidConfigException('The "accessSecret" property must be set.'); |
||
| 39 | } |
||
| 40 | |||
| 41 | if ($this->bucket === null) { |
||
| 42 | throw new InvalidConfigException('The "bucket" property must be set.'); |
||
| 43 | } |
||
| 44 | if ($this->domain === null) { |
||
| 45 | throw new InvalidConfigException('The "domain" property must be set.'); |
||
| 46 | } |
||
| 47 | parent::init(); |
||
| 48 | } |
||
| 66 | } |