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