/** * Build default config for client * * This overrides the default base-url by adding the instance-specific * acctPid and feedPid * * @return array */ protected function buildClientDefaultConfig() { $options = parent::buildClientDefaultConfig(); $options['base_uri'] = implode('/', [rtrim(static::$baseUrl, '/'), $this->accountPid, $this->feedPid]); return $options; }