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