public function getClass(): string
    {
        foreach ($this->resourceRecords as $resourceRecord) {
            if (null !== $resourceRecord->getClass()) {
                return $resourceRecord->getClass();
            }
        }

        return Classes::INTERNET;
    }
public function getClass(): string
    {
        foreach ($this->resourceRecords as $resourceRecord) {
            if (null !== $resourceRecord->getClass()) {
                return $resourceRecord->getClass();
            }
        }

        return Classes::INTERNET;
    }
public function getClass ( ) : string { foreach ( $ this -> resourceRecords as $ resourceRecord ) { if ( null !== $ resourceRecord -> getClass ( ) ) { return $ resourceRecord -> getClass ( ) ; } } return Classes :: INTERNET ; }
Return the class of the zone, defaults to 'IN'.

@return string
Return the class of the zone defaults to IN .