for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Thruster\Component\Dns;
/**
* Class Query
*
* @package Thruster\Component\Dns
* @author Aurimas Niekis <[email protected]>
*/
class Query
{
* @var string
private $name;
* @var int
private $type;
private $class;
private $currentTime;
public function __construct(string $name, int $type, int $class, int $currentTime)
$this->name = $name;
$this->type = $type;
$this->class = $class;
$this->currentTime = $currentTime;
}
* @return string
public function getName()
return $this->name;
* @return int
public function getType()
return $this->type;
public function getClass()
return $this->class;
public function getCurrentTime()
return $this->currentTime;