1 | <?php |
||
11 | class MixedContentScanner |
||
12 | { |
||
13 | /** @var \Spatie\MixedContentScanner\MixedContentObserver */ |
||
14 | public $mixedContentObserver; |
||
15 | |||
16 | /** @var null|\Spatie\Crawler\CrawlProfile */ |
||
17 | public $crawlProfile; |
||
18 | |||
19 | /** @var int|null */ |
||
20 | protected $maximumCrawlCount; |
||
21 | |||
22 | /** @var callable */ |
||
23 | protected $configureCrawler; |
||
24 | |||
25 | public function __construct(MixedContentObserver $mixedContentObserver) |
||
31 | |||
32 | public function scan(string $url, array $clientOptions = []) |
||
50 | |||
51 | public function configureCrawler(callable $callable) |
||
57 | |||
58 | public function setCrawlProfile(CrawlProfile $crawlProfile) |
||
64 | |||
65 | /** |
||
66 | * @deprecated You can set this via configureCrawler |
||
67 | */ |
||
68 | public function setMaximumCrawlCount(int $maximumCrawlCount) |
||
74 | |||
75 | protected function guardAgainstInvalidUrl(string $url) |
||
85 | |||
86 | protected function startsWith(string $haystack, array $needles): bool |
||
96 | } |
||
97 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.