'api-key ' . $this->get_api_key(), 'Content-Type' => 'application/json', ); } /** * @param string $api_key */ public function set_api_key( string $api_key ) { $this->api_key = $api_key; } /** * @return string */ public function get_api_key(): string { return $this->api_key; } }