public function getSearchComponents()
    {
        $searchComponents = [];

        foreach (self::$searchComponents as $componentName => $componentClass) {
            $searchComponents[$componentName] = $this->getSearchComponent($componentName);
        }

        return $searchComponents;
    }
public function getSearchComponents()
    {
        $searchComponents = [];

        foreach (self::$searchComponents as $componentName => $componentClass) {
            $searchComponents[$componentName] = $this->getSearchComponent($componentName);
        }

        return $searchComponents;
    }
public function getSearchComponents ( ) { $ searchComponents = [ ] ; foreach ( self :: $ searchComponents as $ componentName => $ componentClass ) { $ searchComponents [ $ componentName ] = $ this -> getSearchComponent ( $ componentName ) ; } return $ searchComponents ; }
Returns all currently registered search components.

@return array An array of search component instances
Returns all currently registered search components .