• File: CrawlProfile.php
  • Full Path: /home/masbinta/public_html/core/vendor/spatie/crawler/src/CrawlProfile.php
  • File size: 322 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Spatie\Crawler;

use Psr\Http\Message\UriInterface;

abstract class CrawlProfile
{
    /**
     * Determine if the given url should be crawled.
     *
     * @param \Psr\Http\Message\UriInterface $url
     *
     * @return bool
     */
    abstract public function shouldCrawl(UriInterface $url): bool;
}