%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/diaspora/api/app/Providers/
Upload File :
Create Path :
Current File : /var/www/html/diaspora/api/app/Providers/AppServiceProvider.php

<?php

namespace App\Providers;

use App\Models\Category;
use App\Models\Country;
use App\Models\Event;
use App\Models\KkdSection;
use App\Models\Member;
use App\Models\MyCountrySection;
use App\Models\Notification;
use App\Models\Post;
use App\Models\Section;
use App\Models\User;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Schema::defaultStringLength(191);

        Relation::morphMap([
            'User'             => User::class,
            'Country'          => Country::class,
            'Section'          => Section::class,
            'Post'             => Post::class,
            'Category'         => Category::class,
            'MyCountrySection' => MyCountrySection::class,
            'KkdSection'       => KkdSection::class,
            'Member'           => Member::class,
            'Event'            => Event::class,
            'Notification'     => Notification::class,
        ]);

    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}

Zerion Mini Shell 1.0