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