/
home
/
techb158
/
ileadtechnology.com
/
vendor
/
spatie
/
laravel-sitemap
/
src
/
Crawler
/
/home/techb158/ileadtechnology.com/vendor/spatie/laravel-sitemap/src/Crawler
mkdir
upload
Name
Size
Mode
Actions
Observer.php
1602
0644
edit
dl
rm
Profile.php
485
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/vendor/spatie/laravel-sitemap/src/Crawler/Profile.php
(485B)
<?php namespace Spatie\Sitemap\Crawler; use Psr\Http\Message\UriInterface; use Spatie\Crawler\CrawlProfile; class Profile extends CrawlProfile { /** @var callable */ protected $profile; public function shouldCrawlCallback(callable $callback) { $this->profile = $callback; } /* * Determine if the given url should be crawled. */ public function shouldCrawl(UriInterface $url): bool { return ($this->profile)($url); } }
Save
profile = $callback; } /* * Determine if the given url should be crawled. */ public function shouldCrawl(UriInterface $url): bool { return ($this->profile)($url); } }