src/util/Arr.php
public static function pluck($array, $key) {
        $values = array();

        foreach ($array as $row) {
            if (isset($row[$key])) {
                // Found a value in this row
                $values[] = $row[$key];
            }
        }

        return $values;
    }
public static function pluck($array, $key) {
        $values = array();

        foreach ($array as $row) {
            if (isset($row[$key])) {
                // Found a value in this row
                $values[] = $row[$key];
            }
        }

        return $values;
    }
Retrieves multiple single-key values from a list of arrays.

// Get all of the "id" values from a result
$ids = Arr::pluck($result, 'id');

[!!] A list of arrays is an array that contains arrays, eg: array(array $a, array $b, array $c, ...)

@param   array $array list of arrays to check
@param   string $key key to pluck
@return  array