1 | <?php declare(strict_types=1); |
||
10 | final class AccessLevels extends ParentClass implements RichInterface |
||
|
|||
11 | { |
||
12 | use SomeTrait; |
||
13 | use SomeTraitNotPresentHere; |
||
14 | |||
15 | const LEVEL = 5; |
||
16 | |||
17 | /** |
||
18 | * @var mixed |
||
19 | */ |
||
20 | public $publicProperty; |
||
21 | |||
22 | |||
23 | /** |
||
24 | * @var mixed |
||
25 | */ |
||
26 | protected $protectedProperty; |
||
27 | |||
28 | |||
29 | /** |
||
30 | * @var mixed |
||
31 | */ |
||
32 | private $privateProperty; |
||
33 | |||
34 | public function publicMethod() |
||
37 | |||
38 | protected function protectedMethod() |
||
41 | |||
42 | private function privateMethod() |
||
45 | } |
||
46 |