Metaregistrar\EPP\eppDomain::getSecdns PHP Метод

getSecdns() публичный Метод

public getSecdns ( integer $row = null ) : Metaregistrar\EPP\eppSecdns | null | array
$row integer
Результат Metaregistrar\EPP\eppSecdns | null | array
    public function getSecdns($row = null)
    {
        if (!is_null($row)) {
            if (isset($this->secdns[$row])) {
                return $this->secdns[$row];
            } else {
                throw new eppException("DNSSEC info number {$row} could not be retrieved");
            }
        } else {
            // return the whole array
            return $this->secdns;
        }
    }