MetaGerProvider.php 499 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class MetaGerProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
26
        $this->app->singleton(MetaGer::class, function ($app) {
27 28 29 30
            return new MetaGer();
        });
    }
}