1: <?php
2:
3:
4: namespace BeerXML\Parser;
5:
6:
7: interface IRecipe
8: {
9: const TYPE_EXTRACT = 'Extract';
10: const TYPE_PARTIAL_MASH = 'Partial Mash';
11: const TYPE_ALL_GRAIN = 'All Grain';
12: const TYPE_IBU_METHOD_RAGER = 'Rager';
13: const TYPE_IBU_METHOD_TINSETH = 'Tinseth';
14: const TYPE_IBU_METHOD_GARETZ = 'Garetz';
15:
16: /**
17: * @param number $age
18: */
19: public function setAge($age);
20:
21: /**
22: * @param number $ageTemp
23: */
24: public function setAgeTemp($ageTemp);
25:
26: /**
27: * @param string $asstBrewer
28: */
29: public function setAsstBrewer($asstBrewer);
30:
31: /**
32: * @param float $batchSize
33: */
34: public function setBatchSize($batchSize);
35:
36: /**
37: * @param float $boilSize
38: */
39: public function setBoilSize($boilSize);
40:
41: /**
42: * @param number $boilTime
43: */
44: public function setBoilTime($boilTime);
45:
46: /**
47: * @param string $brewer
48: */
49: public function setBrewer($brewer);
50:
51: /**
52: * @param float $carbonation
53: */
54: public function setCarbonation($carbonation);
55:
56: /**
57: * @param number $carbonationTemp
58: */
59: public function setCarbonationTemp($carbonationTemp);
60:
61: /**
62: * @param \DateTime $date
63: */
64: public function setDate($date);
65:
66: /**
67: * @param float $efficiency
68: */
69: public function setEfficiency($efficiency);
70:
71: /**
72: * @param Equipment $equipment
73: */
74: public function setEquipment($equipment);
75:
76: /**
77: * @param Fermentable $fermentable
78: */
79: public function addFermentable($fermentable);
80:
81: /**
82: * @param int $fermentationStages
83: */
84: public function setFermentationStages($fermentationStages);
85:
86: /**
87: * @param float $fg
88: */
89: public function setFg($fg);
90:
91: /**
92: * @param boolean $forcedCarbonation
93: */
94: public function setForcedCarbonation($forcedCarbonation);
95:
96: /**
97: * @param Hop $hop
98: */
99: public function addHop($hop);
100:
101: /**
102: * @param float $kegPrimingFactor
103: */
104: public function setKegPrimingFactor($kegPrimingFactor);
105:
106: /**
107: * @param MashProfile $mash
108: */
109: public function setMash($mash);
110:
111: /**
112: * @param Misc
113: */
114: public function addMisc($misc);
115:
116: /**
117: * @param string $name
118: */
119: public function setName($name);
120:
121: /**
122: * @param string $notes
123: */
124: public function setNotes($notes);
125:
126: /**
127: * @param float $og
128: */
129: public function setOg($og);
130:
131: /**
132: * @param number $primaryAge
133: */
134: public function setPrimaryAge($primaryAge);
135:
136: /**
137: * @param number $primaryTemp
138: */
139: public function setPrimaryTemp($primaryTemp);
140:
141: /**
142: * @param float $primingSugarEquiv
143: */
144: public function setPrimingSugarEquiv($primingSugarEquiv);
145:
146: /**
147: * @param string $primingSugarName
148: */
149: public function setPrimingSugarName($primingSugarName);
150:
151: /**
152: * @param number $secondaryAge
153: */
154: public function setSecondaryAge($secondaryAge);
155:
156: /**
157: * @param number $secondaryTemp
158: */
159: public function setSecondaryTemp($secondaryTemp);
160:
161: /**
162: * @param Style $style
163: */
164: public function setStyle($style);
165:
166: /**
167: * @param string $tasteNotes
168: */
169: public function setTasteNotes($tasteNotes);
170:
171: /**
172: * @param float $tasteRating
173: */
174: public function setTasteRating($tasteRating);
175:
176: /**
177: * @param number $tertiaryAge
178: */
179: public function setTertiaryAge($tertiaryAge);
180:
181: /**
182: * @param number $tertiaryTemp
183: */
184: public function setTertiaryTemp($tertiaryTemp);
185:
186: /**
187: * @param string $type
188: */
189: public function setType($type);
190:
191: /**
192: * @param int $version
193: */
194: public function setVersion($version);
195:
196: /**
197: * @param Water
198: */
199: public function addWater($water);
200:
201: /**
202: * @param Yeast
203: */
204: public function addYeast($yeast);
205: }