public function collect($column)
    {
        $row = $this->aggregate(__FUNCTION__, array($column));

        $collected = [];

        foreach ($row as $value)
        {
            $collected[] = $value;
        }

        return new Collection($collected);
    }
public function collect($column)
    {
        $row = $this->aggregate(__FUNCTION__, array($column));

        $collected = [];

        foreach ($row as $value)
        {
            $collected[] = $value;
        }

        return new Collection($collected);
    }
public function collect ( $ column ) { $ row = $ this -> aggregate ( __FUNCTION__ , array ( $ column ) ) ; $ collected = [ ] ; foreach ( $ row as $ value ) { $ collected [ ] = $ value ; } return new Collection ( $ collected ) ; }
Get the collected values of the give column.

@param  string $column
@return \Illuminate\Database\Eloquent\Collection
Get the collected values of the give column .