2019-01-10 13:20:43 -08:00
|
|
|
<?php namespace App\Providers;
|
|
|
|
|
|
|
|
use App\Services\LdapAd;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
2021-04-20 14:53:47 -07:00
|
|
|
use Illuminate\Contracts\Support\DeferrableProvider;
|
2019-01-10 13:20:43 -08:00
|
|
|
|
2021-04-20 14:53:47 -07:00
|
|
|
class LdapServiceProvider extends ServiceProvider implements DeferrableProvider
|
2019-01-10 13:20:43 -08:00
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Bootstrap the application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function boot()
|
|
|
|
{
|
2020-08-14 14:45:05 -07:00
|
|
|
|
2019-01-10 13:20:43 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Register any application services.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function register()
|
|
|
|
{
|
2020-08-14 14:45:05 -07:00
|
|
|
$this->app->singleton(LdapAd::class, LdapAd::class);
|
2019-01-10 13:20:43 -08:00
|
|
|
}
|
2021-04-20 14:53:47 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the services provided by the provider.
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function provides()
|
|
|
|
{
|
|
|
|
return [LdapAd::class];
|
|
|
|
}
|
2019-01-10 13:20:43 -08:00
|
|
|
}
|