src/UthandoDomPdf/Model/PdfFooterCollection.php
public function rewind()
    {
        if (!$this->sorted) {
            $this->entities = array_reverse($this->entities);
            $this->sorted = true;
        }

        parent::rewind();
    }
public function rewind()
    {
        if (!$this->sorted) {
            $this->entities = array_reverse($this->entities);
            $this->sorted = true;
        }

        parent::rewind();
    }
public function rewind ( ) { if ( ! $ this -> sorted ) { $ this -> entities = array_reverse ( $ this -> entities ) ; $ this -> sorted = true ; } parent :: rewind ( ) ; }
Make sure we have the items in the right order, reverse order
Make sure we have the items in the right order reverse order