1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 04:34:02 +00:00

Remove Tenant facade, move facades to Facades

This commit is contained in:
Samuel Štancl 2019-09-08 17:24:03 +02:00
parent 52542a8ee3
commit dabaff1338
4 changed files with 7 additions and 8 deletions

View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Facades;
use Illuminate\Support\Facades\Facade;
class GlobalCacheFacade extends Facade
{
protected static function getFacadeAccessor()
{
return 'globalCache';
}
}

16
src/Facades/Tenancy.php Normal file
View file

@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Facades;
use Stancl\Tenancy\TenantManager;
use Illuminate\Support\Facades\Facade;
class TenancyFacade extends Facade
{
protected static function getFacadeAccessor()
{
return TenantManager::class;
}
}