InvalidCallException::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\Method;
4
5
use PHPKitchen\Platform\Exception\Mixin\StaticConstructors;
6
7
/**
8
 * Represents exception caused by calling a method in a wrong way.
9
 *
10
 * @author Dmitry Kolodko <[email protected]>
11
 * @since 1.0
12
 */
13
class InvalidCallException extends \BadMethodCallException {
14
    use StaticConstructors;
15
16
    public function getName() {
17
        return 'Invalid Call';
18
    }
19
}