BlockTypeNotFoundException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
1
<?php
2
/**
3
 * Spoon plugin for Craft CMS 3.x
4
 *
5
 * Enhance Matrix
6
 *
7
 * @link      https://angell.io
8
 * @copyright Copyright (c) 2018 Angell & Co
9
 */
10
11
namespace angellco\spoon\errors;
12
13
use yii\base\Exception;
14
15
/**
16
 * Class BlockTypeNotFoundException
17
 *
18
 * @author    Angell & Co
19
 * @package   Spoon
20
 * @since     3.2.2
21
 */
22
class BlockTypeNotFoundException extends Exception
23
{
24
    /**
25
     * @return string the user-friendly name of this exception
26
     */
27
    public function getName()
28
    {
29
        return 'Block Type not found';
30
    }
31
}
32