ValuedEnum extends Enum
This file is subject to the terms and conditions defined in file 'LICENSE.txt', which is part of this source code package.
Copyright (c) 2012-2020 John Quinn john@retail-rack.com
Tags
Table of Contents
KEY1 | 'key1' | |
---|---|---|
KEY2 | 'key2' | |
VALUE1 | 'value1' | |
VALUE2 | 'value2' | |
$enum | array |
Constants
KEY1
public
mixed
$KEY1
= 'key1'
KEY2
public
mixed
$KEY2
= 'key2'
VALUE1
public
mixed
$VALUE1
= 'value1'
VALUE2
public
mixed
$VALUE2
= 'value2'
Properties
$enum
protected
array
$enum
= [self::KEY1 => self::VALUE1, self::KEY2 => self::VALUE2]