Completed
Push — master ( c8fd93...a9ab00 )
by Georges
01:49
created

NonExistingStrategyException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 *
5
 * This file is part of phpFastCache.
6
 *
7
 * @license MIT License (MIT)
8
 *
9
 * For full copyright and license information, please see the docs/CREDITS.txt file.
10
 *
11
 * @author Georges.L (Geolim4)  <[email protected]>
12
 * @author PastisD https://github.com/PastisD
13
 * @author Alexander (asm89) <[email protected]>
14
 * @author Khoa Bui (khoaofgod)  <[email protected]> http://www.phpfastcache.com
15
 *
16
 */
17
18
namespace phpFastCache\Bundle\Twig\CacheExtension\Exception;
19
20
class NonExistingStrategyException extends BaseException
21
{
22
    /**
23
     * {@inheritdoc}
24
     */
25
    public function __construct($strategyKey, $code = 0, \Exception $previous = null)
26
    {
27
        parent::__construct(sprintf('No strategy configured with key "%s".', $strategyKey), $code, $previous);
28
    }
29
}
30