You are here

public function UnitsMathematicalExpressionWrapper::getExpression in Units of Measurement 7.2

Get underlying mathematical expression.

Return value

\UnitsMathematicalExpression The underlying mathematical expression

File

./units.module, line 1938
Provide API for managing and converting units of measurement.

Class

UnitsMathematicalExpressionWrapper
Wrapper around "mathematical expression" objects for ease of db storage.

Code

public function getExpression() {
  return $this->expression;
}