MeasurementMap
class MeasurementMap implements MeasurementInterface
MeasurementMap for recording Measurements.
Methods
Add an Exemplar Attachment to our map. If the key already exists, the existing Attachment in the map will be overriden with the new value.
Record the Measurements, Attachments and Tags found in the map.
Details
at line 40
MeasurementInterface
put(Measurement $measurement)
Add a Measurement to our map.
at line 54
MeasurementInterface
putAttachment(string $key, string $value)
Add an Exemplar Attachment to our map. If the key already exists, the existing Attachment in the map will be overriden with the new value.
at line 72
bool
record(Context $ctx = null, TagContext $tags = null)
Record the Measurements, Attachments and Tags found in the map.
If Context is not explicitly provided, the current Context is used. If a TagContext object is explicitly provided, all tags found are inserted into the TagContext object found in Context. If a Tag with the same key already exists in the implicit TagContext object, the explicit Tag key value pair is used.