Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
24 | final class Attribute implements HasType, HasVisibility, CanBeStatic, Stringable |
||
25 | { |
||
26 | use WithVisibility; |
||
27 | use WithStaticModifier; |
||
28 | use WithVariable; |
||
29 | |||
30 | public function __construct(Variable $variable, Visibility $modifier, bool $isStatic = false) |
||
31 | { |
||
32 | $this->variable = $variable; |
||
33 | $this->modifier = $modifier; |
||
34 | $this->isStatic = $isStatic; |
||
35 | } |
||
36 | |||
37 | /** @return Name[] */ |
||
38 | public function references(): array |
||
41 | } |
||
42 | |||
43 | public function __toString(): string |
||
52 |