/** * Return a collection of negotiated languages in descending order of preference. * * @param $appTypes * * @return SharedTypePairCollection */ public function languageAll($appTypes) { $request = $this->requestStack->getCurrentRequest(); $uaField = $request->server->get('HTTP_ACCEPT_LANGUAGE', ''); return $this->negotiate->languageAll($uaField, $appTypes); }