public function getColumnNames(array $columns)
    {
        return array_reduce($columns, function ($carry, \tao_models_classes_table_Column $column) {
            /** @var ContextTypePropertyColumn|VariableColumn $column */
            $carry[$this->getColumnId($column)] = $column->getLabel();
            return $carry;
        });
    }
public function getColumnNames(array $columns)
    {
        return array_reduce($columns, function ($carry, \tao_models_classes_table_Column $column) {
            /** @var ContextTypePropertyColumn|VariableColumn $column */
            $carry[$this->getColumnId($column)] = $column->getLabel();
            return $carry;
        });
    }
public function getColumnNames ( array $ columns ) { return array_reduce ( $ columns , function ( $ carry , \ tao_models_classes_table_Column $ column ) { /** @var ContextTypePropertyColumn|VariableColumn $column */ $ carry [ $ this -> getColumnId ( $ column ) ] = $ column -> getLabel ( ) ; return $ carry ; } ) ; }
Get the array of column names indexed by their unique column id.

@param \tao_models_classes_table_Column[] $columns
@return array
Get the array of column names indexed by their unique column id .