public function pluck($column)
    {
        $columns = func_get_args();
        $argv_count = func_num_args();
        
        $collection = $this->take();
        $values = [];
        
        if ($collection->any()) {
            if ($argv_count == 1) {
                foreach ($collection as $model)
                    $values[] = $model->$column;
            } else {
                foreach ($collection as $model) {
                    $row_values = [];
                    foreach ($columns as $column) {
                        $row_values[] = $model->$column;
                    }
                    $values[] = $row_values;
                }
            }
        }
        
        return $values;
    }
public function pluck($column)
    {
        $columns = func_get_args();
        $argv_count = func_num_args();
        
        $collection = $this->take();
        $values = [];
        
        if ($collection->any()) {
            if ($argv_count == 1) {
                foreach ($collection as $model)
                    $values[] = $model->$column;
            } else {
                foreach ($collection as $model) {
                    $row_values = [];
                    foreach ($columns as $column) {
                        $row_values[] = $model->$column;
                    }
                    $values[] = $row_values;
                }
            }
        }
        
        return $values;
    }
public function pluck ( $ column ) { $ columns = func_get_args ( ) ; $ argv_count = func_num_args ( ) ; $ collection = $ this -> take ( ) ; $ values = [ ] ; if ( $ collection -> any ( ) ) { if ( $ argv_count == 1 ) { foreach ( $ collection as $ model ) $ values [ ] = $ model -> $ column ; } else { foreach ( $ collection as $ model ) { $ row_values = [ ] ; foreach ( $ columns as $ column ) { $ row_values [ ] = $ model -> $ column ; } $ values [ ] = $ row_values ; } } } return $ values ; }
Accepts more than 1 argument.
Accepts more than 1 argument .