return $this->integrationBrowser;
} $apiBrowser = KernelLifecycleManager::
createBrowser($this->
getKernel());
$apiBrowser->
followRedirects();
$apiBrowser->
setServerParameters([ 'CONTENT_TYPE' => 'application/json',
'HTTP_ACCEPT' =>
['application/vnd.api+json,application/json'
],
]);
$this->
authorizeBrowserWithIntegration($apiBrowser,
$id);
return $this->integrationBrowser =
$apiBrowser;
} private function getLocaleOfSystemLanguage(Connection
$connection): string
{ $builder =
$connection->
createQueryBuilder();
return (string) $builder->
select('locale.id'
) ->
from('language', 'language'
) ->
innerJoin('language', 'locale', 'locale', 'language.locale_id = locale.id'
)