AY
Size: a a a
AY
S
v
S
v
S
v
Passport::ignoreMigrations();
$this->app->register(PassportServiceProvider::class);
$this->app->bind(UserProvider::class, static function () {
return app(EloquentUserProvider::class, ['model' => User::class]);
});
Passport::routes();
$this->app->singleton(GateContract::class, static function ($app) {
return new Gate($app, static function () use ($app) {
return $app['user.auth']->getUser() ?: static function () {
};
});
});
v
S
Passport::ignoreMigrations();
$this->app->register(PassportServiceProvider::class);
$this->app->bind(UserProvider::class, static function () {
return app(EloquentUserProvider::class, ['model' => User::class]);
});
Passport::routes();
$this->app->singleton(GateContract::class, static function ($app) {
return new Gate($app, static function () use ($app) {
return $app['user.auth']->getUser() ?: static function () {
};
});
});
S
Passport::ignoreMigrations();
$this->app->register(PassportServiceProvider::class);
$this->app->bind(UserProvider::class, static function () {
return app(EloquentUserProvider::class, ['model' => User::class]);
});
Passport::routes();
$this->app->singleton(GateContract::class, static function ($app) {
return new Gate($app, static function () use ($app) {
return $app['user.auth']->getUser() ?: static function () {
};
});
});
v
ИГ
Passport::ignoreMigrations();
$this->app->register(PassportServiceProvider::class);
$this->app->bind(UserProvider::class, static function () {
return app(EloquentUserProvider::class, ['model' => User::class]);
});
Passport::routes();
$this->app->singleton(GateContract::class, static function ($app) {
return new Gate($app, static function () use ($app) {
return $app['user.auth']->getUser() ?: static function () {
};
});
});
A
СБ
AY
СБ
AY
AY
СБ
СБ