app/Providers/AppServiceProvider.php
/**
     * Register any application services.
     *
     * @return void
     */
Register any application services.
@return void
Register any application services . @return void
public function register()
    {
        $this->app->singleton(
            Illuminate\Contracts\Debug\ExceptionHandler::class,
            App\Exceptions\Handler::class
        );
        $this->app->singleton(MatchValidationInterface::class,MatchValidation::class);
        $this->app->singleton(TeamInterface::class,Team::class);
    }
public function register ( ) { $ this -> app -> singleton ( Illuminate \ Contracts \ Debug \ ExceptionHandler :: class , App \ Exceptions \ Handler :: class ) ; $ this -> app -> singleton ( MatchValidationInterface :: class , MatchValidation :: class ) ; $ this -> app -> singleton ( TeamInterface :: class , Team :: class ) ; }
Register any application services.
Register any application services .