BaseInflection   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 31
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0
wmc 3
lcom 0
cbo 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A isMutable() 0 3 1
A getCases() 0 3 1
A getCase() 0 3 1
1
<?php
2
namespace morphos;
3
4
use RuntimeException;
5
6
abstract class BaseInflection implements Cases
7
{
8
    /**
9
     * @abstract
10
     * @param string $name
11
     * @return bool
12
     */
13
    public static function isMutable($name) {
14
        throw new RuntimeException('Not implemented');
15
    }
16
17
    /**
18
     * @abstract
19
     * @param string $name
20
     * @return string[]
21
     * @phpstan-return array<string, string>
22
     */
23
    public static function getCases($name) {
24
        throw new RuntimeException('Not implemented');
25
    }
26
27
    /**
28
     * @abstract
29
     * @param string $name
30
     * @param string $case
31
     * @return string
32
     */
33
    public static function getCase($name, $case) {
34
        throw new RuntimeException('Not implemented');
35
    }
36
}
37