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

remove dead code

This commit is contained in:
Samuel Štancl 2024-05-28 02:55:13 +02:00
parent 97ccbbe1f9
commit 7572911d87
2 changed files with 2 additions and 21 deletions

View file

@ -1,19 +0,0 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Database\Concerns;
/**
* @property-read string $primary_domain_hostname
*/
trait PrimaryDomain
{
// This string should usually come from a relationship implemented by you.
abstract public function getPrimaryDomainHostnameAttribute(): string;
public function route($route, $parameters = [], $absolute = true)
{
return tenant_route($this->primary_domain_hostname, $route, $parameters, $absolute);
}
}