mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:44:02 +00:00
23 lines
610 B
PHP
23 lines
610 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Tests\Etc;
|
|
|
|
use Stancl\Tenancy\Database\Concerns;
|
|
use Stancl\Tenancy\Database\Models\Tenant as BaseTenant;
|
|
use Stancl\Tenancy\Database\Contracts\TenantWithDatabase;
|
|
use Stancl\Tenancy\Contracts\SingleDomainTenant as SingleDomainTenantContract;
|
|
|
|
class SingleDomainTenant extends BaseTenant implements SingleDomainTenantContract, TenantWithDatabase
|
|
{
|
|
use Concerns\ConvertsDomainsToLowercase, Concerns\HasDatabase;
|
|
|
|
public static function getCustomColumns(): array
|
|
{
|
|
return [
|
|
'id',
|
|
'domain',
|
|
];
|
|
}
|
|
}
|