mirror of
https://github.com/koel/koel
synced 2024-11-14 16:37:28 +00:00
18 lines
264 B
PHP
18 lines
264 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Services;
|
||
|
|
||
|
class LicenseService
|
||
|
{
|
||
|
public function isPlus(): bool
|
||
|
{
|
||
|
// @todo Implement checking for Plus license
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public function isCommunity(): bool
|
||
|
{
|
||
|
return !$this->isPlus();
|
||
|
}
|
||
|
}
|