public function replaceIdxSiteContents(Site $site, array $contents)
    {
        $contentUids = $this->getAClassContentUids($contents);

        return $this->replaceIdxSiteContentsUid($site->getUid(), $contentUids);
    }
public function replaceIdxSiteContents(Site $site, array $contents)
    {
        $contentUids = $this->getAClassContentUids($contents);

        return $this->replaceIdxSiteContentsUid($site->getUid(), $contentUids);
    }
public function replaceIdxSiteContents ( Site $ site , array $ contents ) { $ contentUids = $ this -> getAClassContentUids ( $ contents ) ; return $ this -> replaceIdxSiteContentsUid ( $ site -> getUid ( ) , $ contentUids ) ; }
Replaces site-content indexes for an array of contents in a site.

@param \BackBee\Site\Site $site
@param array              $contents An array of AbstractClassContent

@return \BackBee\ClassContent\Repository\IndexationRepository
Replaces site - content indexes for an array of contents in a site .