1: <?php
2:
3:
4: namespace BeerXML\Generator;
5:
6:
7: class Water extends Record
8: {
9: protected $tagName = 'WATER';
10:
11: 12: 13:
14: protected $record;
15:
16: 17: 18: 19: 20:
21: protected $simpleValues = array(
22: 'NAME' => 'getName',
23: 'VERSION' => 'getVersion',
24: 'AMOUNT' => 'getAmount',
25: 'CALCIUM' => 'getCalcium',
26: 'BICARBONATE' => 'getBicarbonate',
27: 'SULFATE' => 'getSulfate',
28: 'CHLORIDE' => 'getChloride',
29: 'SODIUM' => 'getSodium',
30: 'MAGNESIUM' => 'getMagnesium',
31: );
32:
33: 34: 35: 36: 37:
38: protected $optionalSimpleValues = array(
39: 'PH' => 'getPH',
40: 'NOTES' => 'getNotes',
41: );
42:
43: protected $displayInterface = 'BeerXML\Generator\IWaterDisplay';
44:
45: protected $displayValues = array(
46: 'DISPLAY_AMOUNT' => 'getDisplayAmount',
47: );
48:
49: }