concrete/src/Search/Index/DefaultManager.php
public function getAllIndexes()
    {
        foreach ($this->indexes as $type => $indexList) {
            // If we hit the "ALL" type, skip it for now
            if ($type == self::TYPE_ALL) {
                continue;
            }

            // Otherwise yield all indexes registered against this type
            foreach ($this->getIndexes($type, false) as $index) {
                yield $type => $index;
            }
        }

        foreach ($this->getIndexes(self::TYPE_ALL) as $index) {
            yield self::TYPE_ALL => $index;
        }
    }
public function getAllIndexes()
    {
        foreach ($this->indexes as $type => $indexList) {
            // If we hit the "ALL" type, skip it for now
            if ($type == self::TYPE_ALL) {
                continue;
            }

            // Otherwise yield all indexes registered against this type
            foreach ($this->getIndexes($type, false) as $index) {
                yield $type => $index;
            }
        }

        foreach ($this->getIndexes(self::TYPE_ALL) as $index) {
            yield self::TYPE_ALL => $index;
        }
    }
public function getAllIndexes ( ) { foreach ( $ this -> indexes as $ type => $ indexList ) { // If we hit the "ALL" type, skip it for now if ( $ type == self :: TYPE_ALL ) { continue ; } // Otherwise yield all indexes registered against this type foreach ( $ this -> getIndexes ( $ type , false ) as $ index ) { yield $ type => $ index ; } } foreach ( $ this -> getIndexes ( self :: TYPE_ALL ) as $ index ) { yield self :: TYPE_ALL => $ index ; } }
Get all indexes registered against this manager
@return \Generator
Get all indexes registered against this manager