1: <?php
2:
3: declare(strict_types=1);
4:
5: namespace LaravelUi5\OData\Edm\Annotation;
6:
7: use LaravelUi5\OData\Edm\Contracts\Annotation\AnnotationValueInterface;
8: use LaravelUi5\OData\Edm\Contracts\Annotation\PropertyValueInterface;
9:
10: final readonly class PropertyValue implements PropertyValueInterface
11: {
12: public function __construct(
13: private string $property,
14: private AnnotationValueInterface $value,
15: ) {}
16:
17: public function getProperty(): string
18: {
19: return $this->property;
20: }
21:
22: public function getValue(): AnnotationValueInterface
23: {
24: return $this->value;
25: }
26: }
27: