/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/react/dns/src/Query
NameSizeModeActions
CachingExecutor.php26450644editdlrm
CancellationException.php1180644editdlrm
CoopExecutor.php34610644editdlrm
ExecutorInterface.php14800644editdlrm
FallbackExecutor.php17520644editdlrm
HostsFileExecutor.php30670644editdlrm
Query.php20540644editdlrm
RetryExecutor.php26350644editdlrm
SelectiveTransportExecutor.php30820644editdlrm
TcpTransportExecutor.php139640644editdlrm
TimeoutException.php1060644editdlrm
TimeoutExecutor.php28030644editdlrm
UdpTransportExecutor.php85320644editdlrm
Edit: /opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/react/dns/src/Query/Query.php (2054B)
name = $name; $this->type = $type; $this->class = $class; } /** * Describes the hostname and query type/class for this query * * The output format is supposed to be human readable and is subject to change. * The format is inspired by RFC 3597 when handling unkown types/classes. * * @return string "example.com (A)" or "example.com (CLASS0 TYPE1234)" * @link https://tools.ietf.org/html/rfc3597 */ public function describe() { $class = $this->class !== Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : ''; $type = 'TYPE' . $this->type; $ref = new \ReflectionClass('RectorPrefix202411\\React\\Dns\\Model\\Message'); foreach ($ref->getConstants() as $name => $value) { if ($value === $this->type && \strpos($name, 'TYPE_') === 0) { $type = \substr($name, 5); break; } } return $this->name . ' (' . $class . $type . ')'; } }