1 | <?php |
||
7 | class CrawlUrl |
||
8 | { |
||
9 | /** @var \Psr\Http\Message\UriInterface */ |
||
10 | public $url; |
||
11 | |||
12 | /** @var \Psr\Http\Message\UriInterface */ |
||
13 | public $foundOnUrl; |
||
14 | |||
15 | /** @var mixed */ |
||
16 | protected $id; |
||
17 | |||
18 | public static function create(UriInterface $url, ?UriInterface $foundOnUrl = null, $id = null) |
||
28 | |||
29 | protected function __construct(UriInterface $url, $foundOnUrl = null) |
||
34 | |||
35 | /** |
||
36 | * @return mixed|null |
||
37 | */ |
||
38 | public function getId() |
||
42 | |||
43 | public function setId($id) |
||
47 | } |
||
48 |