Completed
Push — 2.1 ( 28b26f...4d9204 )
by Alexander
10:53
created

Exception   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
1
<?php
2
/**
3
 * @link http://www.yiiframework.com/
4
 * @copyright Copyright (c) 2008 Yii Software LLC
5
 * @license http://www.yiiframework.com/license/
6
 */
7
8
namespace yii\caching;
9
10
/**
11
 * Exception represents an exception that is caused by some Caching-related operations.
12
 *
13
 * @author Paul Klimov <[email protected]>
14
 * @since 2.1.0
15
 */
16
class Exception extends \yii\base\Exception implements \Psr\SimpleCache\CacheException
17
{
18
    /**
19
     * {@inheritdoc}
20
     */
21
    public function getName()
22
    {
23
        return 'Cache Exception';
24
    }
25
}