Class for error text answers.
toNormalized(Transformations $transformations, array $context=[])
Convert the internal state of the implementing object into a language-neutral array structure.
withPoints(float $points)
fromNormalized(array $normalized, Transformations $transformations)
Restore the object from its normalized representation.
withPosition(int $position)
__construct(string $text_wrong="", string $text_correct="", float $points=0.0, ?int $position=null)
assAnswerErrorText constructor