* @copyright 2023-2024 Emma (prpl.wtf) * @license https://blueprint.zip/docs/?page=about/License MIT License * @link https://blueprint.zip/docs/?page=documentation/$blueprint * @since indev * @deprecated alpha */ namespace App\Services\Helpers; use App\Contracts\Repository\SettingsRepositoryInterface; use App\BlueprintFramework\Services\PlaceholderService\BlueprintPlaceholderService; class BlueprintExtensionLibrary { public function __construct( private SettingsRepositoryInterface $settings, private BlueprintPlaceholderService $placeholder, ) { } public function dbGet($table, $record) { return $this->settings->get($table."::".$record); } public function dbSet($table, $record, $value) { return $this->settings->set($table."::".$record, $value); } public function notify($text) { return false; } public function notifyAfter($delay, $text) { return false; } public function notifyNow($text) { return false; } public function fileRead($path) { return false; } public function fileMake($path) { return false; } public function fileWipe($path) { return false; } }