src/Primitive/Container/Container.php
public function reverse($preserveKeys = true)
    {
        $this->items = array_reverse($this->items, $this->getBoolable($preserveKeys));

        return $this;
    }
public function reverse($preserveKeys = true)
    {
        $this->items = array_reverse($this->items, $this->getBoolable($preserveKeys));

        return $this;
    }
Reverse Container items.

@param bool|BooleanContract $preserveKeys
@return $this