no message
This commit is contained in:
commit
ea84bca5e0
93 files changed
+15373
No files matched your search
Executable
+28
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Database\Eloquent\Relations\Relation;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
Relation::morphMap([
|
||||
'Gems' => 'App\Models\Gems',
|
||||
'Articles' => 'App\Models\Articles',
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user