Class MashStep
Abstract Record Parser
This sets the stage for all of our parsers. Each subclass can define a map of tags to setter methods. The parser will then call the setter methods with the values from those tags.
- BeerXML\Parser\Record
- BeerXML\Parser\MashStep
protected
|
protected
string
|
$tagName | 'MASH_STEP' |
#
The <TAG> that a subclass parses |
protected
array
|
$simpleProperties | array(
'NAME' => 'setName',
'VERSION' => 'setVersion',
'TYPE' => 'setType',
'INFUSE_AMOUNT' => 'setInfuseAmount',
'STEP_TEMP' => 'setStepTemp',
'STEP_TIME' => 'setStepTime',
'RAMP_TIME' => 'setRampTime',
'END_TEMP' => 'setEndTemp',
) |
#
Tags that map to simple values and the corresponding setter method on the record class |
$complexProperties,
$complexPropertySets,
$recordFactory,
$xmlReader
|