Adapter/RepositoryContentAdapter.php
function findByContentTypeName($spaceId, $contentTypeName)
    {
        $contentType = $this->findContentType($spaceId, $contentTypeName);
        return $this->entryRepo->findByContentType($contentType);
    }
function findByContentTypeName($spaceId, $contentTypeName)
    {
        $contentType = $this->findContentType($spaceId, $contentTypeName);
        return $this->entryRepo->findByContentType($contentType);
    }
@param string $spaceId
@param string $contentTypeName

@return ArrayCollection