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

NonExistingStrategyException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 3
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