private function processClass(\ArrayIterator $iterator, ResourceRecord $resourceRecord): void
    {
        if (Classes::isValid(strtoupper($iterator->current()))) {
            $resourceRecord->setClass(strtoupper($iterator->current()));
            $iterator->next();
        }
    }
private function processClass(\ArrayIterator $iterator, ResourceRecord $resourceRecord): void
    {
        if (Classes::isValid(strtoupper($iterator->current()))) {
            $resourceRecord->setClass(strtoupper($iterator->current()));
            $iterator->next();
        }
    }
private function processClass ( \ ArrayIterator $ iterator , ResourceRecord $ resourceRecord ) : void { if ( Classes :: isValid ( strtoupper ( $ iterator -> current ( ) ) ) ) { $ resourceRecord -> setClass ( strtoupper ( $ iterator -> current ( ) ) ) ; $ iterator -> next ( ) ; } }
Set RR's class if there is one.

@param \ArrayIterator $iterator
@param ResourceRecord $resourceRecord
Set RR s class if there is one .