| 1 | <?php |
||
| 19 | final class Attributes extends AbstractBlock |
||
| 20 | { |
||
| 21 | public const TARGET_PARENT = 0; |
||
| 22 | public const TARGET_PREVIOUS = 1; |
||
| 23 | public const TARGET_NEXT = 2; |
||
| 24 | |||
| 25 | /** @var array<string, mixed> */ |
||
| 26 | private $attributes; |
||
| 27 | |||
| 28 | /** @var int */ |
||
| 29 | private $target = self::TARGET_NEXT; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param array<string, mixed> $attributes |
||
| 33 | */ |
||
| 34 | 15 | public function __construct(array $attributes) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return array<string, mixed> |
||
|
|
|||
| 41 | */ |
||
| 42 | 15 | public function getAttributes(): array |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @param array<string, mixed> $attributes |
||
| 49 | */ |
||
| 50 | 3 | public function setAttributes(array $attributes): void |
|
| 54 | |||
| 55 | 15 | public function getTarget(): int |
|
| 59 | |||
| 60 | 12 | public function setTarget(int $target): void |
|
| 64 | } |
||
| 65 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.