lib/Collection/QueryType/Handler/Traits/SectionFilterTrait.php
private function getSectionIds(array $sectionIdentifiers): array
    {
        $idList = [];

        foreach ($sectionIdentifiers as $identifier) {
            try {
                $section = $this->sectionHandler->loadByIdentifier($identifier);
                $idList[] = $section->id;
            } catch (NotFoundException $e) {
                continue;
            }
        }

        return $idList;
    }
private function getSectionIds(array $sectionIdentifiers): array
    {
        $idList = [];

        foreach ($sectionIdentifiers as $identifier) {
            try {
                $section = $this->sectionHandler->loadByIdentifier($identifier);
                $idList[] = $section->id;
            } catch (NotFoundException $e) {
                continue;
            }
        }

        return $idList;
    }
private function getSectionIds ( array $ sectionIdentifiers ) : array { $ idList = [ ] ; foreach ( $ sectionIdentifiers as $ identifier ) { try { $ section = $ this -> sectionHandler -> loadByIdentifier ( $ identifier ) ; $ idList [ ] = $ section -> id ; } catch ( NotFoundException $ e ) { continue ; } } return $ idList ; }
Returns section IDs for all provided section identifiers.
Returns section IDs for all provided section identifiers .