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