26 lines
548 B
PHP
26 lines
548 B
PHP
<?php
|
|
|
|
namespace auth;
|
|
|
|
use App;
|
|
use Illuminate\Support\ServiceProvider;
|
|
use utils\services\UtilsServiceCatalog;
|
|
|
|
class AuthenticationServiceProvider extends ServiceProvider
|
|
{
|
|
|
|
public function boot()
|
|
{
|
|
}
|
|
|
|
public function register()
|
|
{
|
|
App::singleton(UtilsServiceCatalog::AuthenticationService, 'auth\\AuthService');
|
|
App::singleton('auth\\IAuthenticationExtensionService', 'auth\\AuthenticationExtensionService');
|
|
}
|
|
|
|
public function provides()
|
|
{
|
|
return array('Authentication.services');
|
|
}
|
|
} |