芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/vendor/spatie/crawler/src/CrawlSubdomains.php
baseUrl = $baseUrl; } public function shouldCrawl(UriInterface $url): bool { return $this->isSubdomainOfHost($url); } public function isSubdomainOfHost(UriInterface $url): bool { return substr($url->getHost(), -strlen($this->baseUrl->getHost())) === $this->baseUrl->getHost(); } }