DomainRepository
class DomainRepository extends Repository (View source)
The Site Repository
Properties
protected DomainMatchingStrategy | $domainMatchingStrategy | ||
protected Bootstrap | $bootstrap | ||
protected array | $defaultOrderings |
Methods
array
findByHost(string $hostname, bool $onlyActive = false)
Finds all active domains matching the given hostname.
findOneByHost(string $hostname, bool $onlyActive = false)
Find the best matching active domain for the given hostname.
findOneByActiveRequest()
No description
Details
array
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
findOneByHost(string $hostname, bool $onlyActive = false)
Find the best matching active domain for the given hostname.
Domain
findOneByActiveRequest()
No description