Download app/Repositories/Contracts/ExtensionRepositoryInterface.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 693 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/app/Repositories/Contracts/ExtensionRepositoryInterface.php
- Command line
-
hf download hf://pnacorp/magicai/app/Repositories/Contracts/ExtensionRepositoryInterface.php
-
curl -L -o ExtensionRepositoryInterface.php https://huggingface.co/pnacorp/magicai/resolve/main/app/Repositories/Contracts/ExtensionRepositoryInterface.php
693 Bytes
| namespace App\Repositories\Contracts; | |
| use Closure; | |
| interface ExtensionRepositoryInterface extends PortalRepositoryInterface | |
| { | |
| public function licensed(array $data); | |
| public function extensions(); | |
| public function themes(); | |
| public function subscription(); | |
| public function all(bool $isTheme = false); | |
| public function find(string $slug); | |
| public function findId(int $id); | |
| public function install(string $slug, string $version); | |
| public function request(string $method, string $route, array $body = []); | |
| public function check($request, Closure $next); | |
| public function appVersion(): bool|string|int; | |
| public function cart(): ?array; | |
| } | |