getUrl(); $userRules = $entry->getUser()->getConfig()->getIgnoreOriginRules()->toArray(); $rules = array_merge($this->ignoreOriginInstanceRuleRepository->findAll(), $userRules); $parsed_url = parse_url($url); // We add the former url as a new key _all for pattern matching $parsed_url['_all'] = $url; foreach ($rules as $rule) { if ($this->rulerz->satisfies($parsed_url, $rule->getRule())) { $this->logger->info('Origin url matching ignore rule.', [ 'rule' => $rule->getRule(), ]); return true; } } return false; } }