koel/app/Services/License/LicenseServiceInterface.php

20 lines
393 B
PHP
Raw Normal View History

2024-01-09 18:34:40 +00:00
<?php
namespace App\Services\License;
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;
2024-01-10 23:25:22 +00:00
public function getStatus(bool $checkCache = true): LicenseStatus;
2024-01-09 18:34:40 +00:00
}