public function __construct(array $options = array()) { $this->endpointUrl = 'api.fixer.io'; parent::__construct($options); }
public function __construct($app_id, array $options = array()) { $this->endpointUrl = 'openexchangerates.org/api'; $this->appId = $app_id; parent::__construct($options); }