public function deleteItemsBySite(Site $site, string $indexingConfigurationName = '')
    {
        $indexingConfigurationNames = empty($indexingConfigurationName) ? [] : [$indexingConfigurationName];
        $this->deleteItems([$site], $indexingConfigurationNames);
    }
public function deleteItemsBySite(Site $site, string $indexingConfigurationName = '')
    {
        $indexingConfigurationNames = empty($indexingConfigurationName) ? [] : [$indexingConfigurationName];
        $this->deleteItems([$site], $indexingConfigurationNames);
    }
public function deleteItemsBySite ( Site $ site , string $ indexingConfigurationName = '' ) { $ indexingConfigurationNames = empty ( $ indexingConfigurationName ) ? [ ] : [ $ indexingConfigurationName ] ; $ this -> deleteItems ( [ $ site ] , $ indexingConfigurationNames ) ; }
Removes all items of a certain site from the Index Queue. Accepts an
optional parameter to limit the deleted items by indexing configuration.

@param Site $site The site to remove items for.
@param string $indexingConfigurationName Name of a specific indexing configuration
@throws \Exception
Removes all items of a certain site from the Index Queue . Accepts an optional parameter to limit the deleted items by indexing configuration .