public function prepend($key, $value) { $array = $this->get($key); array_unshift($array, $value); $this->set($key, $array); }