Total Complexity | 5 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
4 | class MutationWithInput |
||
5 | { |
||
6 | /** @var string $mutation */ |
||
7 | private $mutation; |
||
8 | |||
9 | /** @var string $inputType */ |
||
10 | private $inputType; |
||
11 | |||
12 | /** |
||
13 | * @param string $mutation |
||
14 | * @param string $inputType |
||
15 | */ |
||
16 | public function __construct(string $mutation, string $inputType) |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return bool |
||
24 | */ |
||
25 | public function isNotEmpty(): bool |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | public function getMutation(): string |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getInputType(): string |
||
46 |