| 1 | <?php |
||
| 15 | class Attribute implements \JsonSerializable |
||
| 16 | { |
||
| 17 | private const CODE = 'attribute_code'; |
||
| 18 | |||
| 19 | private const VALUE = 'value'; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | private $code; |
||
| 23 | |||
| 24 | /** @var string|string[]|mixed */ |
||
| 25 | private $value; |
||
| 26 | |||
| 27 | public function __construct(string $code, $value) |
||
| 32 | |||
| 33 | public function jsonSerialize(): array |
||
| 40 | } |
||
| 41 |