UnknownClassException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
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
}