/**
* {@inheritdoc}
*/
public function filter(array
$urls,
$shopId) { $filteredUrls =
[];
/** @var Url $url */
foreach ($urls as $url) { $filters =
$this->
getFilterContainer($url->
getResource(),
$shopId)->
getFilters();
// Check if the whole resource should be skipped (value: 0)
if (\
in_array(0,
$filters, true
)) { continue;
} // Check if no filters exist at all
if (!
$filters) { return $urls;
}