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