UnknownClassException::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace PHPKitchen\Platform\Exception\Runtime\App;
4
5
use PHPKitchen\Platform\Exception\Mixin\StaticConstructors;
6
7
/**
8
 * Represents  an exception caused by using an unknown class.
9
 *
10
 * @author Dmitry Kolodko <[email protected]>
11
 * @since 1.0
12
 */
13
class UnknownClassException extends \RuntimeException {
14
    use StaticConstructors;
15
16
    public function getName() {
17
        return 'Unknown Class';
18
    }
19
}