ConfigNotFoundException::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Yii 2 config loader
4
 *
5
 * @see       https://github.com/sergeymakinen/yii2-config
6
 * @copyright Copyright (c) 2016 Sergey Makinen (https://makinen.ru)
7
 * @license   https://github.com/sergeymakinen/yii2-config/blob/master/LICENSE The MIT License
8
 */
9
10
namespace sergeymakinen\yii\config;
11
12
use yii\base\Exception;
13
14
/**
15
 * An exception caused by a config file not found.
16
 */
17
class ConfigNotFoundException extends Exception
18
{
19
    /**
20
     * @inheritDoc
21
     */
22
    public function getName()
23
    {
24
        return 'Config File Not Found';
25
    }
26
}
27