Diglin\Swisspost\EnumType\Language
This class stands for Language EnumType Meta informations extracted from the WSDL - documentation: Represents the end-users language. The service returns all localized texts including error-messages in the selected language.
Synopsis
class Language
{
- // constants
- const VALUE_DE = 'de';
- const VALUE_FR = 'fr';
- const VALUE_IT = 'it';
- const VALUE_EN = 'en';
- // methods
- public static bool valueIsValid()
- public static array getValidValues()
- public string __toString()
Constants
| Name | Value |
|---|---|
| VALUE_DE | 'de' |
| VALUE_FR | 'fr' |
| VALUE_IT | 'it' |
| VALUE_EN | 'en' |
Methods
public
- __toString() — Method returning the class name
- getValidValues() — Return allowed values
- valueIsValid() — Return true if value is allowed