src/Formulas/FormulasResults.php
public function of(string $formulaName)
    {
        if (! isset($this->results[$formulaName])) {
            throw new CalculusResultNotFound('No result found for the given formula : ' . $formulaName );
        }

        return $this->results[$formulaName];
    }
public function of(string $formulaName)
    {
        if (! isset($this->results[$formulaName])) {
            throw new CalculusResultNotFound('No result found for the given formula : ' . $formulaName );
        }

        return $this->results[$formulaName];
    }
Returns a specific result by key
@param string $formulaName
@return mixed
@throws CalculusResultNotFound