1 | <?php |
||
11 | class Collection extends AbstractCollection |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @param $value |
||
16 | * @param bool $index |
||
17 | * @return $this |
||
18 | */ |
||
19 | public function unshift($value, $index = false) |
||
31 | |||
32 | /** |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function clear() |
||
42 | |||
43 | /** |
||
44 | * @param $key |
||
45 | * @return $this |
||
46 | */ |
||
47 | public function keyBy($key) |
||
58 | |||
59 | /** |
||
60 | * @param $index |
||
61 | * @return mixed|null |
||
62 | */ |
||
63 | public function getNth($index) |
||
73 | } |