Inheritance: use trait Essence\Configurable
Esempio n. 1
0
 /**
  *	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);
 }
Esempio n. 2
0
 /**
  *	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;
 }