function __construct(Currency $currency) { $this->logger = new Logger("test"); $this->currency = $currency; if ($this->isDebug()) { $this->logger->pushHandler(new BufferHandler(new ErrorLogHandler())); } else { $this->logger->pushHandler(new NullHandler()); } Config::merge(array($currency->getCode() . "_confirmations" => 6, "get_contents_timeout" => 30)); }
function __construct(AccountType $account) { $this->logger = new Logger("test"); $this->factory = $this; $this->account = $account; if ($this->isDebug()) { $this->logger->pushHandler(new BufferHandler(new ErrorLogHandler())); } else { $this->logger->pushHandler(new NullHandler()); } Config::merge(array("get_contents_timeout" => 30)); }
function __construct() { Config::merge(array("get_contents_timeout" => 10)); }
public function __construct(AccountType $type) { parent::__construct($type); Config::merge(array("accounts_throttle" => 1)); }
public function __construct(AccountType $type) { parent::__construct($type); Config::merge(array("accounts_throttle" => 1, "accounts_btcguild_throttle" => 15, "accounts_wemineltc_throttle" => 60)); }