Merx

$listItems->pluck()

Extracts all values for a single field into a new array

$listItems->pluck(string $field, null|string $split = null, bool $unique = false): array

Parameters

Name Type Default
$field string -
$split null or string null
$unique bool false

Return type

array

Parent class

Wagnerwagner\Merx\ListItems inherited from Kirby\Toolkit\Collection