Column/Options/Filter.php
private function prepareSelectValues(array $values) : array
    {
        $options = [];
        foreach ($values as $key => $value) {
            $options[] = [
                'id'      => $key,
                'caption' => $value,
            ];
        }
        
        return $options;
    }
private function prepareSelectValues(array $values) : array
    {
        $options = [];
        foreach ($values as $key => $value) {
            $options[] = [
                'id'      => $key,
                'caption' => $value,
            ];
        }
        
        return $options;
    }
private function prepareSelectValues ( array $ values ) : array { $ options = [ ] ; foreach ( $ values as $ key => $ value ) { $ options [ ] = [ 'id' => $ key , 'caption' => $ value , ] ; } return $ options ; }
Prepares values to use in filter

@param array $values

@return array
Prepares values to use in filter