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