mirror of
https://github.com/koel/koel
synced 2024-12-24 03:23:06 +00:00
19 lines
393 B
PHP
19 lines
393 B
PHP
<?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;
|
|
|
|
public function getStatus(bool $checkCache = true): LicenseStatus;
|
|
}
|