/** * SrvRecord constructor. * * @param Node $node * @param int $ttl * @param int $priority * @param int $weight * @param int $port * @param string $target */ public function __construct(Node $node, int $ttl, int $priority, int $weight, int $port, string $target) { $this->priority = $priority; $this->weight = $weight; $this->port = $port; $this->target = $target; parent::__construct($node, eRecordType::SRV(), $ttl); }