blob: b7508b013ab847160d14ff7f781251213a7b367c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
namespace Engelsystem\Helpers;
use Engelsystem\Container\ServiceProvider;
class AuthenticatorServiceProvider extends ServiceProvider
{
public function register()
{
/** @var Authenticator $authenticator */
$authenticator = $this->app->make(Authenticator::class);
$this->app->instance(Authenticator::class, $authenticator);
$this->app->instance('authenticator', $authenticator);
}
}
|