Attendize/app/Providers/AppServiceProvider.php

35 lines
788 B
PHP
Raw Normal View History

2016-02-29 15:59:36 +00:00
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
2016-03-05 00:18:10 +00:00
class AppServiceProvider extends ServiceProvider
{
2016-02-29 15:59:36 +00:00
/**
* Bootstrap any application services.
*
* @return void
*/
2016-03-05 00:18:10 +00:00
public function boot()
{
//require app_path('Attendize/constants.php');
2016-02-29 15:59:36 +00:00
}
/**
* 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!
*
* @return void
*/
2016-03-05 00:18:10 +00:00
public function register()
{
2016-02-29 15:59:36 +00:00
$this->app->bind(
2016-09-06 20:39:27 +00:00
'Illuminate\Contracts\Auth\Registrar', 'App\Services\Registrar'
2016-02-29 15:59:36 +00:00
);
}
}