Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
18 | 3 | protected function _setContainer() : void |
|
19 | { |
||
20 | 3 | if (!isset($this->_options['servers'])) |
|
21 | { |
||
22 | 1 | throw new MemcachedServersNotSetException(); |
|
23 | } |
||
24 | |||
25 | 2 | $this->_setStoreValue('servers', $this->_options['servers']); |
|
26 | 2 | $this->_container['memcached.connector'] = new MemcachedConnector(); |
|
27 | } |
||
28 | } |