Factories
3 months ago
ApiUri.php
3 months ago
ApiVersion.php
3 months ago
AuthContext.php
3 months ago
AuthState.php
3 months ago
JsonDecoder.php
3 months ago
RequestBuilder.php
3 months ago
RequestExecutor.php
3 months ago
RequestHeaderCollection.php
3 months ago
RetryPolicy.php
3 months ago
ApiUri.php
20 lines
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | namespace Give\Vendors\LiquidWeb\LicensingApiClient\Http; |
| 4 | |
| 5 | /** |
| 6 | * Represents a fully resolved licensing API URI. |
| 7 | */ |
| 8 | final class ApiUri |
| 9 | { |
| 10 | private string $uri; |
| 11 | |
| 12 | public function __construct(string $uri) { |
| 13 | $this->uri = $uri; |
| 14 | } |
| 15 | |
| 16 | public function get(): string { |
| 17 | return $this->uri; |
| 18 | } |
| 19 | } |
| 20 |