public function match(Request $request, Element $config)
{
if (!count($this->matchingPolicies)) {
return false;
}
foreach ($this->matchingPolicies as $matchingPolicy) {
if (!$matchingPolicy->match($request, $config)) {
return false;
}
}
return true;
}