Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | public function execute() |
||
34 | { |
||
35 | $path = sprintf( |
||
36 | "project/%s/language-status?key=%s", |
||
37 | $this->client->getProjectIdentifier(), |
||
38 | $this->client->getProjectApiKey() |
||
39 | ); |
||
40 | $parameters = array_merge($this->parameters, ['language' => $this->getLanguage()]); |
||
41 | $request = $this->client->getHttpClient()->post($path, [], $parameters); |
||
42 | $response = $request->send(); |
||
43 | |||
44 | return $response->getBody(true); |
||
45 | } |
||
46 | } |
||
47 |