2016-06-20 13:35:59 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
2024-08-31 12:23:07 +00:00
|
|
|
use Illuminate\Support\Facades\Route;
|
2016-06-20 13:35:59 +00:00
|
|
|
use Illuminate\Support\ServiceProvider;
|
2019-11-08 12:08:34 +00:00
|
|
|
use Illuminate\Foundation\Bus\DispatchesJobs;
|
|
|
|
|
2019-11-08 12:51:47 +00:00
|
|
|
use App\Models\{Photo,Video};
|
2016-06-20 13:35:59 +00:00
|
|
|
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
|
|
{
|
2024-08-25 08:26:29 +00:00
|
|
|
use DispatchesJobs;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register(): void
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bootstrap any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot(): void
|
|
|
|
{
|
2024-08-31 12:23:07 +00:00
|
|
|
Route::model('po',Photo::class);
|
2024-09-02 12:51:19 +00:00
|
|
|
Route::model('vo',Video::class);
|
2024-08-25 08:26:29 +00:00
|
|
|
}
|
2019-11-09 02:52:04 +00:00
|
|
|
}
|