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