DomainRepository
class DomainRepository extends Repository (View source)
The Site Repository
Properties
protected DomainMatchingStrategy | $domainMatchingStrategy | ||
protected Bootstrap | $bootstrap | ||
protected array<string,string> | $defaultOrderings |
Methods
Domain[]
findByHost(string $hostname, bool $onlyActive = false)
Finds all active domains matching the given hostname.
Domain|null
findOneByHost(string $hostname, bool $onlyActive = false)
Find the best matching active domain for the given hostname.
Domain|null
findOneByActiveRequest()
No description
Domain[]
findByActive(bool $active)
No description
Domain[]
Domain[]
findByHostname(string $hostname)
No description
Details
Domain[]
findByHost(string $hostname, bool $onlyActive = false)
Finds all active domains matching the given hostname.
Their order is determined by how well they match, best match first.
Domain|null
findOneByHost(string $hostname, bool $onlyActive = false)
Find the best matching active domain for the given hostname.
Domain|null
findOneByActiveRequest()
No description
Domain[]
findByActive(bool $active)
No description
Domain[]
findBySite(Site $site)
No description
Domain[]
findByHostname(string $hostname)
No description