/** * Constructor. * * @param Essence\Http\Client $Http HTTP client. * @param Essence\Dom\Parser $Dom DOM parser. * @param Essence\Log\Logger $Log Logger. * @param Essence\Log\Preparator $Preparator Preparator. */ public function __construct(HttpClient $Http, DomParser $Dom, Logger $Log, Preparator $Preparator = null) { $this->_Http = $Http; $this->_Dom = $Dom; parent::__construct($Log, $Preparator); }
/** * Constructor. * * @param Http $Http HTTP client. * @param Dom $Dom DOM parser. */ public function __construct(Http $Http, Dom $Dom) { parent::__construct(); $this->_Http = $Http; $this->_Dom = $Dom; }