code: public function getMaxDepthForContent(ContentType $contentType): int
      {
          if (isset($this->contentTypeMap[$contentType->identifier])) {
              return $this->contentTypeMap[$contentType->identifier];
          }
  
          return $this->defaultIndexingDepth;
      }
docs: Returns max depth of indexing for given content type.
  
  @param \eZ\Publish\SPI\Persistence\Content\Type $contentType
  
  @return int