Download src/Shared/Infrastructure/FileSystem/Adapters/CdnAdapterInterface.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 635 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Shared/Infrastructure/FileSystem/Adapters/CdnAdapterInterface.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Shared/Infrastructure/FileSystem/Adapters/CdnAdapterInterface.php
-
curl -L -o CdnAdapterInterface.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Shared/Infrastructure/FileSystem/Adapters/CdnAdapterInterface.php
635 Bytes
| declare(strict_types=1); | |
| namespace Shared\Infrastructure\FileSystem\Adapters; | |
| interface CdnAdapterInterface extends AdapterInterface | |
| { | |
| /** | |
| * Check if the adapter is enabled | |
| * | |
| * @return bool | |
| */ | |
| public function isEnabled(): bool; | |
| /** | |
| * Get the name of the adapter | |
| * | |
| * @return string | |
| */ | |
| public function getName(): string; | |
| /** | |
| * Resolve file path at the public domain | |
| * | |
| * @param string $path Path (object key) of the file relative to the | |
| * file system's base domain | |
| * @return string | |
| */ | |
| public function getUrl(string $path): string; | |
| } | |