1: <?php
2:
3:
4: namespace BeerXML\Generator;
5:
6:
7: class Hop extends Record
8: {
9: protected $tagName = 'HOP';
10:
11: 12: 13:
14: protected $record;
15:
16: 17: 18: 19: 20:
21: protected $simpleValues = array(
22: 'NAME' => 'getName',
23: 'VERSION' => 'getVersion',
24: 'ALPHA' => 'getAlpha',
25: 'AMOUNT' => 'getAmount',
26: 'USE' => 'getUse',
27: 'TIME' => 'getTime',
28: );
29:
30: protected $optionalSimpleValues = array(
31: 'NOTES' => 'getNotes',
32: 'TYPE' => 'getType',
33: 'FORM' => 'getForm',
34: 'BETA' => 'getBeta',
35: 'HSI' => 'getHsi',
36: 'ORIGIN' => 'getOrigin',
37: 'SUBSTITUTES' => 'getSubstitutes',
38: 'HUMULENE' => 'getHumulene',
39: 'CARYOPHYLLENE' => 'getCaryophyllene',
40: 'COHUMULONE' => 'getCohumulone',
41: 'MYRCENE' => 'getMyrcene',
42: );
43:
44: protected $displayInterface = 'BeerXML\Generator\IHopDisplay';
45:
46: protected $displayValues = array(
47: 'DISPLAY_AMOUNT' => 'getDisplayAmount',
48: 'INVENTORY' => 'getInventory',
49: 'DISPLAY_TIME' => 'getDisplayTime',
50: );
51: }