Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 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 | } |
||
27 | } |
||
28 |