src/Collections/Collection.php
public static function push(&$array)
    {
        $params = func_get_arg();

        for ($i = 1; $i < static::count($params); $i++) {
            array_push($array, $params[$i]);
        }
    }
public static function push(&$array)
    {
        $params = func_get_arg();

        for ($i = 1; $i < static::count($params); $i++) {
            array_push($array, $params[$i]);
        }
    }
public static function push ( & $ array ) { $ params = func_get_arg ( ) ; for ( $ i = 1 ; $ i < static :: count ( $ params ) ; $ i ++ ) { array_push ( $ array , $ params [ $ i ] ) ; } }
Add element to end of array.

@param array $array
@param param[]

@return null
Add element to end of array .