@@ 436-443 (lines=8) @@ | ||
433 | * |
|
434 | * @return $this |
|
435 | */ |
|
436 | public function unshift() |
|
437 | { |
|
438 | $array = $this->getArrayCopy(); |
|
439 | call_user_func_array('array_unshift', array_merge([&$array], func_get_args())); |
|
440 | $this->exchangeArray($array); |
|
441 | ||
442 | return $this; |
|
443 | } |
|
444 | ||
445 | /** |
|
446 | * The values() method returns a new Array Iterator object that contains the values for each index in the array. |
|
@@ 408-415 (lines=8) @@ | ||
405 | * |
|
406 | * @return $this |
|
407 | */ |
|
408 | public function splice() |
|
409 | { |
|
410 | $array = $this->getArrayCopy(); |
|
411 | call_user_func_array('array_splice', array_merge([&$array], func_get_args())); |
|
412 | $this->exchangeArray($array); |
|
413 | ||
414 | return $this; |
|
415 | } |
|
416 | ||
417 | public function toLocaleString() |
|
418 | { |