for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Akeneo\Crowdin\Api;
/**
* Get supported languages list
*
* @author Nicolas Dupont <[email protected]>
* @see https://crowdin.com/page/api/supported-languages
*/
class SupportedLanguages extends AbstractApi
{
* {@inheritdoc}
public function execute()
$path = 'supported-languages';
if (!empty($this->urlParameters)) {
$path .= sprintf('?%s', $this->getUrlQueryString());
}
$http = $this->client->getHttpClient();
$response = $http->get($path);
return $response->getBody();