src/Collection.php
public function reverse()
    {
        $items = array_reverse($this->items);

        $col = new static ($this->type);
        $col->setItemsFromTrustedSource($items);

        return $col;
    }
public function reverse()
    {
        $items = array_reverse($this->items);

        $col = new static ($this->type);
        $col->setItemsFromTrustedSource($items);

        return $col;
    }
public function reverse ( ) { $ items = array_reverse ( $ this -> items ) ; $ col = new static ( $ this -> type ) ; $ col -> setItemsFromTrustedSource ( $ items ) ; return $ col ; }
{@inheritdoc}
@throws InvalidArgumentException
{