| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 2.0185 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | 5 | public function __construct(Memcached $memcached, string $keyPrefix = '')  | 
            |
| 15 |     { | 
            ||
| 16 | 5 |         if ($memcached->getOption(Memcached::OPT_BINARY_PROTOCOL) !== 1) { | 
            |
| 17 |             throw new \RuntimeException('Memcached "OPT_BINARY_PROTOCOL" option should be set to "true".'); | 
            ||
| 18 | }  | 
            ||
| 19 | |||
| 20 | 5 | parent::__construct($keyPrefix);  | 
            |
| 21 | |||
| 22 | 5 | $this->memcached = $memcached;  | 
            |
| 23 | 5 | }  | 
            |
| 24 | |||
| 46 |