1: <?php
2:
3:
4: namespace BeerXML\Generator;
5:
6:
7: interface IMashStep
8: {
9:
10: /**
11: * the temperature you can expect the mash to fall to after a long mash step. Measured in degrees Celsius.
12: *
13: * @return number
14: */
15: public function getEndTemp();
16:
17: /**
18: * The volume of water in liters to infuse in this step. Required only for infusion steps, though one may also add
19: * water for temperature mash steps. One should not have an infusion amount for decoction steps.
20: *
21: * @return number
22: */
23: public function getInfuseAmount();
24:
25: /**
26: * Name of the mash step – usually descriptive text such as "Dough In" or "Conversion"
27: *
28: * @return string
29: */
30: public function getName();
31:
32: /**
33: * Time in minutes to achieve the desired step temperature – useful particularly for temperature mashes where it may
34: * take some time to achieve the step temperature.
35: *
36: * @return number
37: */
38: public function getRampTime();
39:
40: /**
41: * The target temperature for this step in degrees Celsius.
42: *
43: * @return number
44: */
45: public function getStepTemp();
46:
47: /**
48: * The number of minutes to spend at this step – i.e. the amount of time we are to hold this particular step
49: * temperature.
50: *
51: * @return number
52: */
53: public function getStepTime();
54:
55: /**
56: * May be "Infusion", "Temperature" or "Decoction" depending on the type of step. Infusion denotes adding hot water,
57: * Temperature denotes heating with an outside heat source, and decoction denotes drawing off some mash for boiling.
58: *
59: * @return string
60: */
61: public function getType();
62:
63: /**
64: * Version of the mash step record. Should always be "1" for this version of the XML standard.
65: *
66: * @return int
67: */
68: public function getVersion();
69: }