*/ class DomainRepository extends ServiceEntityRepository { public function __construct(ManagerRegistry $registry) { parent::__construct($registry, Domain::class); } /** Verifizierte (TLS-fähige) Domain anhand des Hostnamens. */ public function findVerifiedByHostname(string $hostname): ?Domain { return $this->findOneBy(['hostname' => $hostname, 'status' => Domain::STATUS_VERIFIED]); } }