| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function init() |
||
| 34 | { |
||
| 35 | if ($this->server === null) { |
||
| 36 | throw new InvalidConfigException('The "server" property must be set.'); |
||
| 37 | } |
||
| 38 | |||
| 39 | if ($this->database === null) { |
||
| 40 | throw new InvalidConfigException('The "database" property must be set.'); |
||
| 41 | } |
||
| 42 | |||
| 43 | parent::init(); |
||
| 44 | } |
||
| 45 | |||
| 54 |