/
home
/
techb158
/
ileadtechnology.com
/
vendor
/
spatie
/
crawler
/
src
/
Exception
/
/home/techb158/ileadtechnology.com/vendor/spatie/crawler/src/Exception
mkdir
upload
Name
Size
Mode
Actions
InvalidCrawlRequestHandler.php
361
0644
edit
dl
rm
InvalidUrl.php
543
0644
edit
dl
rm
UrlNotFoundByIndex.php
121
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/vendor/spatie/crawler/src/Exception/InvalidUrl.php
(543B)
<?php namespace Spatie\Crawler\Exception; use Exception; use Psr\Http\Message\UriInterface; use Spatie\Crawler\CrawlUrl; class InvalidUrl extends Exception { public static function unexpectedType($url) { $crawlUrlClass = CrawlUrl::class; $uriInterfaceClass = UriInterface::class; $givenUrlClass = is_object($url) ? get_class($url) : gettype($url); return new static("You passed an invalid url of type `{$givenUrlClass}`. This should be either a {$crawlUrlClass} or `{$uriInterfaceClass}`"); } }
Save
cmd:
run