HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /var/www/html/punjabcabs/vendor/hesto/multi-auth/src/MultiAuthServiceProvider.php
<?php

namespace Hesto\MultiAuth;

use Illuminate\Support\ServiceProvider;

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

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->registerInstallCommand();
        $this->registerAuthSettingsInstallCommand();
        $this->registerAuthFilesInstallCommand();
        $this->registerAuthModelInstallCommand();
        $this->registerAuthViewsInstallCommand();
        //$this->registerInstallMiddlewareCommand();
    }

    /**
     * Register the adminlte:install command.
     */
    private function registerInstallCommand()
    {
        $this->app->singleton('command.hesto.multi-auth.install', function ($app) {
            return $app['Hesto\MultiAuth\Commands\MultiAuthInstallCommand'];
        });

        $this->commands('command.hesto.multi-auth.install');
    }

    /**
     * Register the adminlte:install command.
     */
    private function registerAuthSettingsInstallCommand()
    {
        $this->app->singleton('command.hesto.multi-auth.settings', function ($app) {
            return $app['Hesto\MultiAuth\Commands\AuthSettingsInstallCommand'];
        });

        $this->commands('command.hesto.multi-auth.settings');
    }

    /**
     * Register the adminlte:install command.
     */
    private function registerAuthFilesInstallCommand()
    {
        $this->app->singleton('command.hesto.multi-auth.files', function ($app) {
            return $app['Hesto\MultiAuth\Commands\AuthFilesInstallCommand'];
        });

        $this->commands('command.hesto.multi-auth.files');
    }

    /**
     * Register the adminlte:install command.
     */
    private function registerAuthModelInstallCommand()
    {
        $this->app->singleton('command.hesto.multi-auth.model', function ($app) {
            return $app['Hesto\MultiAuth\Commands\AuthModelInstallCommand'];
        });

        $this->commands('command.hesto.multi-auth.model');
    }

    /**
     * Register the adminlte:install command.
     */
    private function registerAuthViewsInstallCommand()
    {
        $this->app->singleton('command.hesto.multi-auth.views', function ($app) {
            return $app['Hesto\MultiAuth\Commands\AuthViewsInstallCommand'];
        });

        $this->commands('command.hesto.multi-auth.views');
    }

}