server/src/app/Providers/AppServiceProvider.php
author nowmad@23.1.168.192.in-addr.arpa
Tue, 01 Dec 2015 13:36:29 +0100
changeset 38 2a2402372b6d
parent 2 00e2916104fe
child 19 eadaf0b8f02e
permissions -rw-r--r--
fix double definition of a var

<?php

namespace CorpusParole\Providers;

use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     */
    public function boot()
    {
        //
    }

    /**
     * Register any application services.
     *
     * This service provider is a great spot to register your various container
     * bindings with the application. As you can see, we are registering our
     * "Registrar" implementation here. You can add your own bindings too!
     */
    public function register()
    {
        $this->app->bind(
            'Illuminate\Contracts\Auth\Registrar',
            'CorpusParole\Services\Registrar'
        );
    }
}