/** * {@inheritdoc} * * @param Joomla\Registry\Registry $options JHttp client options * @param JHttpTransport $transport JHttp client transport */ public function __construct(Joomla\Registry\Registry $options = null, JHttpTransport $transport = null) { parent::__construct(); // Get the api key $this->apiKey = NenoSettings::get('translator_api_key'); }