src/Collection/ArrayCollection.php
public function prependSet($key, $value): ArrayCollection
    {
        $this->items = [$key => $value] + $this->items;

        return $this;
    }
public function prependSet($key, $value): ArrayCollection
    {
        $this->items = [$key => $value] + $this->items;

        return $this;
    }
public function prependSet ( $ key , $ value ) : ArrayCollection { $ this -> items = [ $ key => $ value ] + $ this -> items ; return $ this ; }
Prepends a keyed value

@param mixed $key   The key
@param mixed $value The value

@return ArrayCollection
Prepends a keyed value