| Conditions | 5 |
| Paths | 5 |
| Total Lines | 20 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 45 | public function init() |
||
| 46 | { |
||
| 47 | if ($this->consumerKey === null) { |
||
| 48 | throw new InvalidConfigException('The "consumerKey" property must be set.'); |
||
| 49 | } |
||
| 50 | |||
| 51 | if ($this->consumerSecret === null) { |
||
| 52 | throw new InvalidConfigException('The "consumerSecret" property must be set.'); |
||
| 53 | } |
||
| 54 | |||
| 55 | if ($this->accessToken === null) { |
||
| 56 | throw new InvalidConfigException('The "accessToken" property must be set.'); |
||
| 57 | } |
||
| 58 | |||
| 59 | if ($this->tokenSecret === null) { |
||
| 60 | throw new InvalidConfigException('The "tokenSecret" property must be set.'); |
||
| 61 | } |
||
| 62 | |||
| 63 | parent::init(); |
||
| 64 | } |
||
| 65 | |||
| 77 |