/** * Can process desired url * * @param string $url * @return bool */ protected function canProcessUrl($url) { return $this->sitemap->isUrlAllowed($url) && !$this->sitemap->isUrlDisallowed($url); }