Total Complexity | 8 |
Total Lines | 51 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | #[ORM\Entity] |
||
13 | final class IgnoredGetter extends AbstractModel |
||
14 | { |
||
15 | private string $privateProperty = 'privateProperty'; |
||
|
|||
16 | |||
17 | protected $protectedProperty = 'protectedProperty'; |
||
18 | |||
19 | public $publicProperty = 'publicProperty'; |
||
20 | |||
21 | private function getPrivate(): string |
||
24 | } |
||
25 | |||
26 | protected function getProtected(): string |
||
27 | { |
||
28 | return __FUNCTION__; |
||
29 | } |
||
30 | |||
31 | public function getPublic(): string |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param string[] $arg3 |
||
38 | */ |
||
39 | #[API\Field(type: 'string[]')] |
||
40 | public function getPublicWithArgs(User $arg1, int $arg2, array $arg3 = ['foo']): array |
||
41 | { |
||
42 | return [$arg1, $arg2, $arg3]; |
||
43 | } |
||
44 | |||
45 | public function __call($name, $arguments): string |
||
46 | { |
||
47 | return __FUNCTION__; |
||
48 | } |
||
49 | |||
50 | public static function getStaticPublic(): string |
||
51 | { |
||
52 | return __FUNCTION__; |
||
53 | } |
||
54 | |||
55 | public function isValid(): bool |
||
58 | } |
||
59 | |||
60 | public function hasMoney(): bool |
||
61 | { |
||
63 | } |
||
64 | } |
||
65 |