koel/app/Services/License/Contracts/LicenseServiceInterface.php
2024-07-06 17:44:46 +02:00

19 lines
403 B
PHP

<?php
namespace App\Services\License\Contracts;
use App\Models\License;
use App\Values\LicenseStatus;
interface LicenseServiceInterface
{
public function isPlus(): bool;
public function isCommunity(): bool;
public function activate(string $key): License;
public function deactivate(License $license): void;
public function getStatus(bool $checkCache = true): LicenseStatus;
}