mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:14:03 +00:00
20 lines
379 B
PHP
20 lines
379 B
PHP
<?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);
|
|
}
|
|
}
|