for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of Badcow DNS Library.
*
* (c) Samuel Williams <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Badcow\DNS\Validator;
use Badcow\DNS\ResourceRecord;
use Badcow\DNS\Zone;
class TXTValidator extends AbstractValidator
{
public static function canAddToZone(Zone $zone, ResourceRecord $record): bool
return self::noCNAMEinZone($zone, $record);
}