1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 15:14:04 +00:00

Remove Facade suffix from facades, fix #386

This commit is contained in:
Samuel Štancl 2020-05-03 17:33:16 +02:00
parent d900929264
commit d684931b3c
5 changed files with 10 additions and 11 deletions

20
src/Facades/Tenant.php Normal file
View file

@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Facades;
use Illuminate\Support\Facades\Facade;
class Tenant extends Facade
{
protected static function getFacadeAccessor()
{
return Tenant::class;
}
public static function create($domains, array $data = []): \Stancl\Tenancy\Tenant
{
return Tenant::create($domains, $data);
}
}