lib/FieldMapper/IndexingDepthProvider.php
public function getMaxDepthForContent(ContentType $contentType): int
    {
        if (isset($this->contentTypeMap[$contentType->identifier])) {
            return $this->contentTypeMap[$contentType->identifier];
        }

        return $this->defaultIndexingDepth;
    }
public function getMaxDepthForContent(ContentType $contentType): int
    {
        if (isset($this->contentTypeMap[$contentType->identifier])) {
            return $this->contentTypeMap[$contentType->identifier];
        }

        return $this->defaultIndexingDepth;
    }
public function getMaxDepthForContent ( ContentType $ contentType ) : int { if ( isset ( $ this -> contentTypeMap [ $ contentType -> identifier ] ) ) { return $ this -> contentTypeMap [ $ contentType -> identifier ] ; } return $ this -> defaultIndexingDepth ; }
Returns max depth of indexing for given content type.

@param \eZ\Publish\SPI\Persistence\Content\Type $contentType

@return int
Returns max depth of indexing for given content type .