Total Complexity | 9 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | final class IgnoredGetter extends AbstractModel |
||
15 | { |
||
16 | private $privateProperty = 'privateProperty'; |
||
|
|||
17 | |||
18 | protected $protectedProperty = 'protectedProperty'; |
||
19 | |||
20 | public $publicProperty = 'publicProperty'; |
||
21 | |||
22 | private function getPrivate(): string |
||
25 | } |
||
26 | |||
27 | protected function getProtected(): string |
||
28 | { |
||
29 | return __FUNCTION__; |
||
30 | } |
||
31 | |||
32 | public function getPublic(): string |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @API\Field(type="string[]") |
||
39 | * |
||
40 | * @param string $arg1 |
||
41 | * @param int $arg2 |
||
42 | * @param string[] $arg3 |
||
43 | * |
||
44 | * @return array |
||
45 | */ |
||
46 | public function getPublicWithArgs(string $arg1, int $arg2, array $arg3 = ['foo']): array |
||
47 | { |
||
48 | return [$arg1, $arg2, $arg3]; |
||
49 | } |
||
50 | |||
51 | public function __call($name, $arguments): string |
||
52 | { |
||
53 | return __FUNCTION__; |
||
54 | } |
||
55 | |||
56 | public static function getStaticPublic(): string |
||
57 | { |
||
58 | return __FUNCTION__; |
||
59 | } |
||
60 | |||
61 | public function isValid(): bool |
||
64 | } |
||
65 | |||
66 | public function isIsser(): bool |
||
67 | { |
||
68 | return true; |
||
69 | } |
||
70 | |||
71 | public function hasMoney(): bool |
||
76 |