protected function resetSearchChoices()
    {
        $filteredChoices = [];

        foreach ($this->choices as $key => $choice) {
            if (\is_array($choice)) {
                $this->resetSearchGroupChoices($filteredChoices, $key, $choice);
            } else {
                $this->resetSearchSimpleChoices($filteredChoices, $key, $choice);
            }
        }

        return $filteredChoices;
    }
protected function resetSearchChoices()
    {
        $filteredChoices = [];

        foreach ($this->choices as $key => $choice) {
            if (\is_array($choice)) {
                $this->resetSearchGroupChoices($filteredChoices, $key, $choice);
            } else {
                $this->resetSearchSimpleChoices($filteredChoices, $key, $choice);
            }
        }

        return $filteredChoices;
    }
protected function resetSearchChoices ( ) { $ filteredChoices = [ ] ; foreach ( $ this -> choices as $ key => $ choice ) { if ( \ is_array ( $ choice ) ) { $ this -> resetSearchGroupChoices ( $ filteredChoices , $ key , $ choice ) ; } else { $ this -> resetSearchSimpleChoices ( $ filteredChoices , $ key , $ choice ) ; } } return $ filteredChoices ; }
Reset the choices for search.

@return array The filtered choices
Reset the choices for search .