mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00
21 lines
389 B
PHP
21 lines
389 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Platforms\Config;
|
|
|
|
use CodeIgniter\Config\BaseService;
|
|
use Modules\Platforms\Platforms;
|
|
|
|
class Services extends BaseService
|
|
{
|
|
public static function platforms(bool $getShared = true): Platforms
|
|
{
|
|
if ($getShared) {
|
|
return self::getSharedInstance('platforms');
|
|
}
|
|
|
|
return new Platforms();
|
|
}
|
|
}
|