İlk temizlik tamamlandı bir önceki projeden

This commit is contained in:
Ümit Tunç
2026-04-28 21:14:25 +03:00
commit f80443aec0
10000 changed files with 959965 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Pagination\Paginator;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
$this->app->register(TelescopeServiceProvider::class);
/*
if ($this->app->isLocal()) {
$this->app->register(TelescopeServiceProvider::class);
}
*/
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
Paginator::useBootstrap();
$this->protectDocumentFolders();
// Register Observers
\App\Models\NaksCertificate::observe(\App\Observers\NaksCertificateObserver::class);
\App\Models\NaksWelder::observe(\App\Observers\NaksWeldersObserver::class);
\App\Models\NaksConsumable::observe(\App\Observers\NaksConsumablesObserver::class);
\App\Models\RegisterOfExpert::observe(\App\Observers\RegisterOfExpertsObserver::class);
\App\Models\WeldingEquipment::observe(\App\Observers\WeldingEquipmentObserver::class);
}
private function protectDocumentFolders()
{
$documentsPath = storage_path('documents');
}
}