The function allows you to determine the user language of the user who sent the current step. In case it is a system step, the default language of the process is returned.
Parameter |
Type |
Description |
|---|---|---|
- |
- |
- |
The function returns the language as a string. In case of an error a JobRouterException is thrown.
Example:
…
$language = $this->getLanguage();
…