1: <?php
2:
3:
4: namespace BeerXML\Generator;
5:
6:
7: interface IFermentableDisplay extends IFermentable
8: {
9:
10: /**
11: * The amount of fermentables in this record along with the units formatted for easy display in the current user
12: * defined units. For example "1.5 lbs" or "2.1 kg".
13: *
14: * @return string
15: */
16: public function getDisplayAmount();
17:
18: /**
19: * Color in user defined color units along with the unit identified – for example "200L" or "40 ebc"
20: *
21: * @return string
22: */
23: public function getDisplayColor();
24:
25: /**
26: * Amount in inventory for this item along with the units – for example "10.0 lb"
27: *
28: * @return string
29: */
30: public function getInventory();
31:
32: /**
33: * The yield of the fermentable converted to specific gravity units for display. For example "1.036" or "1.040"
34: * might be valid potentials.
35: *
36: * @return float
37: */
38: public function getPotential();
39: }