bundle/Core/Persistence/Anonymizer/AnonymizerServiceFacade.php
protected function getFieldIds($contentId, array $fieldIdentifiers)
    {
        $ids = [];
        foreach ($fieldIdentifiers as $identifier) {
            try {
                $ids[] = $this->contentTypeUtils->getFieldId($contentId, $identifier);
            } catch (OutOfBoundsException $e) {
                continue;
            }
        }

        return $ids;
    }
protected function getFieldIds($contentId, array $fieldIdentifiers)
    {
        $ids = [];
        foreach ($fieldIdentifiers as $identifier) {
            try {
                $ids[] = $this->contentTypeUtils->getFieldId($contentId, $identifier);
            } catch (OutOfBoundsException $e) {
                continue;
            }
        }

        return $ids;
    }
protected function getFieldIds ( $ contentId , array $ fieldIdentifiers ) { $ ids = [ ] ; foreach ( $ fieldIdentifiers as $ identifier ) { try { $ ids [ ] = $ this -> contentTypeUtils -> getFieldId ( $ contentId , $ identifier ) ; } catch ( OutOfBoundsException $ e ) { continue ; } } return $ ids ; }
Map field id's to list of field identifiers

@param int $content
@param array $fieldIdentifiers

@return array
Map field id s to list of field identifiers