public function __construct(Scraper $scraper, $definition, $next) { parent::__construct($next); $this->scraper = $scraper; $this->definition = $definition; }
public function __construct(Scraper $scraper, array $definitions, $next) { parent::__construct($next); $this->scraper = $scraper; $this->definitions = $definitions; }
public function __construct(Scraper $scraper, array $fieldDefinitions, $next = null) { parent::__construct($next); $this->scraper = $scraper; $this->fieldDefinitions = $fieldDefinitions; }