From 5fd45e327f1576356a29dec3ac046e6b3c1d9430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Collin?= Date: Wed, 18 Nov 2015 09:35:16 +0100 Subject: [PATCH] Fix prepend() issue --- src/EntityCollection.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/EntityCollection.php b/src/EntityCollection.php index 9751d50..63d4fa3 100755 --- a/src/EntityCollection.php +++ b/src/EntityCollection.php @@ -68,17 +68,6 @@ public function remove($entity) return $this->pull($key); } - /** - * Push an item onto the beginning of the collection. - * - * @param mixed $value - * @return void - */ - public function prepend($value) - { - array_unshift($this->items, $value); - } - /** * Push an item onto the end of the collection. *