params = $params; $this->httpClient = $httpClient; $this->requestStack = $requestStack; } public function list(): array { return $this->httpClient->data('POST', $this->params->get('domain_pim') . '/configuration/list.json', [ 'headers' => [ 'x-auth-token' => $this->requestStack->getCurrentRequest()->headers->get('x-auth-token'), ], 'json' => [ 'module' => 'project', ], ] ); } }