Eloquent::pluck PHP Méthode

pluck() public static méthode

Get an array with the values of a given column.
public static pluck ( string $column, string | null $key = null ) : Collection
$column string
$key string | null
Résultat Illuminate\Support\Collection
        public static function pluck($column, $key = null)
        {
            return \Illuminate\Database\Eloquent\Builder::pluck($column, $key);
        }
Eloquent