This commit is contained in:
Meghdad committed 2026-11-26 12:29:14 +03:30
commit 647c8a8cab
236 files changed
+24692

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
<?php
namespace App\Providers;
use App\Models\Setting;
use Illuminate\Contracts\View\View as ViewContract;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
View::composer('studio.footer', function (ViewContract $view): void {
$view->with('studioInformation', Setting::read(Setting::STUDIO_PUBLIC_INFORMATION, []));
});
}
}