/** * @param Scraper $scraper * @param ScrapedItemBag $item * @param SourceInterface $result */ public function __construct(Scraper $scraper, ScrapedItemBag $item, SourceInterface $result) { parent::__construct($scraper, $item); $this->result = $result; }
/** * @param Scraper $scraper * @param ScrapedItemBag $item * @param string $reason */ public function __construct(Scraper $scraper, ScrapedItemBag $item, $reason) { parent::__construct($scraper, $item); $this->reason = $reason; }