Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
11 | 1 | public static function fromNonMultiOperationCache(DoctrineCache $cache) : self |
|
12 | { |
||
13 | 1 | return new self(sprintf( |
|
14 | 'The given cache %s does not support multiple operations, ' |
||
15 | 1 | . 'but you tried to use a feature that requires a multi-operation cache.', |
|
16 | 1 | get_class($cache) |
|
17 | )); |
||
18 | } |
||
19 | } |
||
20 |