| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | 1 | public static function fromNonMultiOperationCache(DoctrineCache $cache) : self |
|
| 20 | { |
||
| 21 | 1 | return new self(sprintf( |
|
| 22 | 'The given cache %s does not support multiple operations, ' |
||
| 23 | 1 | . 'but you tried to use a feature that requires a multi-operation cache.', |
|
| 24 | 1 | get_class($cache) |
|
| 25 | )); |
||
| 26 | } |
||
| 28 |