1: <?php
2:
3:
4: namespace BeerXML\Parser;
5:
6:
7: interface IMisc
8: {
9:
10: /**
11: * Amount of item used. The default measurements are by weight, but this may be the measurement in volume units if
12: * AMOUNT_IS_WEIGHT is set to TRUE for this record. If a liquid it is in liters, if a solid the weight is measured
13: * in kilograms.
14: *
15: * @param number $amount
16: */
17: public function setAmount($amount);
18:
19: /**
20: * TRUE if the amount measurement is a weight measurement and FALSE if the amount is a volume measurement. Default
21: * value (if not present) is assumed to be FALSE.
22: *
23: * @param boolean $amountIsWeight
24: */
25: public function setAmountIsWeight($amountIsWeight);
26:
27: /**
28: * Name of the misc item.
29: *
30: * @param string $name
31: */
32: public function setName($name);
33:
34: /**
35: * Detailed notes on the item including usage. May be multiline.
36: *
37: * @param string $notes
38: */
39: public function setNotes($notes);
40:
41: /**
42: * Amount of time the misc was boiled, steeped, mashed, etc in minutes
43: *
44: * @param number $time
45: */
46: public function setTime($time);
47:
48: /**
49: * May be "Spice", "Fining", "Water Agent", "Herb", "Flavor" or "Other"
50: *
51: * @param string $type
52: */
53: public function setType($type);
54:
55: /**
56: * May be "Boil", "Mash", "Primary", "Secondary", "Bottling"
57: *
58: * @param string $use
59: */
60: public function setUse($use);
61:
62: /**
63: * Short description of what the ingredient is used for in text
64: *
65: * @param string $useFor
66: */
67: public function setUseFor($useFor);
68:
69: /**
70: * Version number of this element. Should be "1" for this version.
71: *
72: * @param int $version
73: */
74: public function setVersion($version);
75: }