Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
10 | 3 | protected function _setContainer(): void |
|
11 | { |
||
12 | 3 | if (!isset($this->_options['servers'])) { |
|
13 | 1 | throw new MemcachedServersNotSetException(); |
|
14 | } |
||
15 | |||
16 | 2 | $this->_setStoreValue('servers', $this->_options['servers']); |
|
17 | 2 | $this->_container['memcached.connector'] = new MemcachedConnector(); |
|
18 | 2 | } |
|
20 |