добавляю все изменения проекта на текущий момент
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
use App\Services\RedisNotificationService;
|
||||
|
||||
class RedisNotifications extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return \App\Services\RedisNotificationService::class;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* Фасад для доступа к user сервису без инъекции зависимостей
|
||||
*
|
||||
* @see \App\Services\UserService
|
||||
*/
|
||||
class UserContext extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return \App\Services\UserService::class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user