public function lpush($collection, $key, $value) { $list = $this->getKey($collection, $key, []); array_unshift($list, $value); $this->setKey($collection, $key, $list); return count($list); }