Diglin\Swisspost\EnumType\NotificationType
This class stands for NotificationType EnumType
Synopsis
class NotificationType
{
- // constants
- const VALUE_EMAIL = 'EMAIL';
- const VALUE_SMS = 'SMS';
- // methods
- public static bool valueIsValid()
- public static array getValidValues()
- public string __toString()
Constants
| Name | Value |
|---|---|
| VALUE_EMAIL | 'EMAIL' |
| VALUE_SMS | 'SMS' |
Methods
public
- __toString() — Method returning the class name
- getValidValues() — Return allowed values
- valueIsValid() — Return true if value is allowed