| 1 | <?php |
||
| 5 | class EnumValueDefinition |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $name; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string|null |
||
| 14 | */ |
||
| 15 | protected $description; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var mixed |
||
| 19 | */ |
||
| 20 | protected $value; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string|null |
||
| 24 | */ |
||
| 25 | protected $deprecationReason; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Constructor. |
||
| 29 | * |
||
| 30 | * @param array $config |
||
| 31 | */ |
||
| 32 | 12 | public function __construct(array $config) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | 36 | public function getName() |
|
| 50 | |||
| 51 | /** |
||
| 52 | * @return string|null |
||
| 53 | */ |
||
| 54 | 3 | public function getDescription() |
|
| 58 | |||
| 59 | /** |
||
| 60 | * @return mixed |
||
| 61 | */ |
||
| 62 | 6 | public function getValue() |
|
| 66 | |||
| 67 | /** |
||
| 68 | * @return string|null |
||
| 69 | */ |
||
| 70 | 12 | public function getDeprecationReason() |
|
| 74 | } |
||
| 75 |