1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 16:54:05 +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

View file

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