Pluck fields, get plain values

On a pages collection, I’d like to pluck all “place” field values. Using $pages->pluck('place') I get an array with field instances:

Array
(
    [0] => Kirby\Cms\Field Object
        (
            [place] => - orte/n/neue-strasse/3792107948
        )

    [1] => Kirby\Cms\Field Object
        (
            [place] => - orte/s/schlossplatz/23802102
        )

    [2] => Kirby\Cms\Field Object
        (
            [place] => - orte/k/katharinenstrasse/39144502
        )

    [3] => Kirby\Cms\Field Object
        (
            [place] => - orte/p/pockelsstrasse/24676957
        )

)

Is there a way to get an array with the plain values instead, e. g.:

Array
(
    [0] =>  - orte/n/neue-strasse/3792107948

    [1] =>  - orte/s/schlossplatz/23802102
        
    [2] =>  - orte/k/katharinenstrasse/39144502

    [3] =>  - orte/p/pockelsstrasse/24676957
      
)
$pages->pluck('place', ',', true);
3 Likes