Overview

Namespaces

  • BeerXML
    • Exception
    • Generator
    • Parser
    • Record
  • PHP

Classes

  • Equipment
  • Fermentable
  • Hop
  • MashProfile
  • MashStep
  • Misc
  • Recipe
  • Record
  • RecordFactory
  • Style
  • Water
  • Yeast

Interfaces

  • IEquipment
  • IEquipmentDisplay
  • IFermentable
  • IFermentableDisplay
  • IHop
  • IHopDisplay
  • IMashProfile
  • IMashProfileDisplay
  • IMashStep
  • IMashStepDisplay
  • IMisc
  • IMiscDisplay
  • IRecipe
  • IRecipeDisplay
  • IStyle
  • IStyleDisplay
  • IWater
  • IWaterDisplay
  • IYeast
  • IYeastDisplay
  • Overview
  • Namespace
  • Class
  • Tree
  1: <?php
  2: 
  3: 
  4: namespace BeerXML\Parser;
  5: 
  6: 
  7: interface IHop
  8: {
  9: 
 10:     /**
 11:      * Percent alpha of hops - for example "5.5" represents 5.5% alpha
 12:      *
 13:      * @param number $alpha
 14:      */
 15:     public function setAlpha($alpha);
 16: 
 17:     /**
 18:      * Weight in Kilograms of the hops used in the recipe
 19:      *
 20:      * @param number $amount
 21:      */
 22:     public function setAmount($amount);
 23: 
 24:     /**
 25:      * Hop beta percentage - for example "4.4" denotes 4.4 % beta
 26:      *
 27:      * @param number $beta
 28:      */
 29:     public function setBeta($beta);
 30: 
 31:     /**
 32:      * Caryophyllene level in percent.
 33:      *
 34:      * @param number $caryophyllene
 35:      */
 36:     public function setCaryophyllene($caryophyllene);
 37: 
 38:     /**
 39:      * Cohumulone level in percent
 40:      *
 41:      * @param number $cohumulone
 42:      */
 43:     public function setCohumulone($cohumulone);
 44: 
 45:     /**
 46:      * May be "Pellet", "Plug" or "Leaf"
 47:      *
 48:      * @param string $form
 49:      */
 50:     public function setForm($form);
 51: 
 52:     /**
 53:      * Hop Stability Index - defined as the percentage of hop alpha lost in 6 months of storage
 54:      *
 55:      * @param number $hsi
 56:      */
 57:     public function setHsi($hsi);
 58: 
 59:     /**
 60:      * Humulene level in percent.
 61:      *
 62:      * @param number $humulene
 63:      */
 64:     public function setHumulene($humulene);
 65: 
 66:     /**
 67:      * Myrcene level in percent
 68:      *
 69:      * @param number $myrcene
 70:      */
 71:     public function setMyrcene($myrcene);
 72: 
 73:     /**
 74:      * Name of the hops
 75:      *
 76:      * @param string $name
 77:      */
 78:     public function setName($name);
 79: 
 80:     /**
 81:      * Textual notes about the hops, usage, substitutes.  May be a multiline entry.
 82:      *
 83:      * @param string $notes
 84:      */
 85:     public function setNotes($notes);
 86: 
 87:     /**
 88:      * Place of origin for the hops
 89:      *
 90:      * @param string $origin
 91:      */
 92:     public function setOrigin($origin);
 93: 
 94:     /**
 95:      * Substitutes that can be used for this hops
 96:      *
 97:      * @param string $substitutes
 98:      */
 99:     public function setSubstitutes($substitutes);
100: 
101:     /**
102:      * The time as measured in minutes.  Meaning is dependent on the "USE" field.  For "Boil" this is the boil time.
103:      * For "Mash" this is the mash time.  For "First Wort" this is the boil time.  For "Aroma" this is the steep time.
104:      * For "Dry Hop" this is the amount of time to dry hop.
105:      *
106:      * @param number $time
107:      */
108:     public function setTime($time);
109: 
110:     /**
111:      * May be "Bittering", "Aroma" or "Both"
112:      *
113:      * @param string $type
114:      */
115:     public function setType($type);
116: 
117:     /**
118:      * May be "Boil", "Dry Hop", "Mash", "First Wort" or "Aroma".  Note that "Aroma" and "Dry Hop" do not contribute to
119:      * the bitterness of the beer while the others do.  Aroma hops are added after the boil and do not contribute
120:      * substantially to beer bitterness.
121:      *
122:      * @param string $use
123:      */
124:     public function setUse($use);
125: 
126:     /**
127:      * Should be set to 1 for this version of the XML standard.  May be a higher number for later versions but all later
128:      * versions shall be backward compatible.
129:      *
130:      * @param int $version
131:      */
132:     public function setVersion($version);
133: }
php-beerxml API documentation generated by ApiGen 2.8.0