private function processTtl(\ArrayIterator $iterator, ResourceRecord $resourceRecord): void
    {
        if ($this->isTTL($iterator)) {
            $resourceRecord->setTtl($iterator->current());
            $iterator->next();
        }
    }
private function processTtl(\ArrayIterator $iterator, ResourceRecord $resourceRecord): void
    {
        if ($this->isTTL($iterator)) {
            $resourceRecord->setTtl($iterator->current());
            $iterator->next();
        }
    }
private function processTtl ( \ ArrayIterator $ iterator , ResourceRecord $ resourceRecord ) : void { if ( $ this -> isTTL ( $ iterator ) ) { $ resourceRecord -> setTtl ( $ iterator -> current ( ) ) ; $ iterator -> next ( ) ; } }
Set RR's TTL if there is one.

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