2022-07-30 17:51:02 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Facades;
|
|
|
|
|
|
|
|
use App\Services\SettingService;
|
|
|
|
use Illuminate\Support\Facades\Facade;
|
|
|
|
|
2024-04-25 17:00:04 +02:00
|
|
|
/**
|
2024-11-09 14:44:24 +01:00
|
|
|
* @method static string|int|boolean|null get($setting)
|
|
|
|
* @method static \Illuminate\Support\Collection<string, mixed> all()
|
|
|
|
* @method static void set($setting, $value)
|
|
|
|
* @method static void delete(string $name)
|
|
|
|
* @method static bool isEdited($key)
|
|
|
|
*
|
2024-04-25 17:00:04 +02:00
|
|
|
* @see \App\Services\SettingService
|
|
|
|
*/
|
2022-07-30 17:51:02 +02:00
|
|
|
class Settings extends Facade
|
|
|
|
{
|
|
|
|
protected static function getFacadeAccessor()
|
|
|
|
{
|
|
|
|
return SettingService::class;
|
|
|
|
}
|
2022-11-22 15:15:52 +01:00
|
|
|
}
|