public function column($column)
    {
        return $this
            ->map(function (CollectionableInterface $entity) use ($column) {
                return $this->getFieldValue($entity, $column);
            })
            ->toArray()
        ;
    }
public function column($column)
    {
        return $this
            ->map(function (CollectionableInterface $entity) use ($column) {
                return $this->getFieldValue($entity, $column);
            })
            ->toArray()
        ;
    }
public function column ( $ column ) { return $ this -> map ( function ( CollectionableInterface $ entity ) use ( $ column ) { return $ this -> getFieldValue ( $ entity , $ column ) ; } ) -> toArray ( ) ; }
Return value of inner objects given property as an array.

This is an object version of array_column() method.
@link http://php.net/manual/fr/function.array-column.php

@param string $column

@return array
Return value of inner objects given property as an array .