original_string: public function getFormatter()
      {
          if ($this->formatterInstance === null) {
              $this->formatterInstance = Yii::createObject(
                  [
                      'class' => '\yii\i18n\Formatter',
                      'decimalSeparator' => $this->decimal_separator,
                      'thousandSeparator' => $this->thousand_separator,
                      'numberFormatterOptions' => [
                          \NumberFormatter::MIN_FRACTION_DIGITS => $this->min_fraction_digits,
                          \NumberFormatter::MAX_FRACTION_DIGITS => $this->max_fraction_digits,
                      ]
                  ]
              );
          }
          return $this->formatterInstance;
      }
code: public function getFormatter()
      {
          if ($this->formatterInstance === null) {
              $this->formatterInstance = Yii::createObject(
                  [
                      'class' => '\yii\i18n\Formatter',
                      'decimalSeparator' => $this->decimal_separator,
                      'thousandSeparator' => $this->thousand_separator,
                      'numberFormatterOptions' => [
                          \NumberFormatter::MIN_FRACTION_DIGITS => $this->min_fraction_digits,
                          \NumberFormatter::MAX_FRACTION_DIGITS => $this->max_fraction_digits,
                      ]
                  ]
              );
          }
          return $this->formatterInstance;
      }
code_tokens: public function getFormatter ( ) { if ( $ this -> formatterInstance === null ) { $ this -> formatterInstance = Yii :: createObject ( [ 'class' => '\yii\i18n\Formatter' , 'decimalSeparator' => $ this -> decimal_separator , 'thousandSeparator' => $ this -> thousand_separator , 'numberFormatterOptions' => [ \ NumberFormatter :: MIN_FRACTION_DIGITS => $ this -> min_fraction_digits , \ NumberFormatter :: MAX_FRACTION_DIGITS => $ this -> max_fraction_digits , ] ] ) ; } return $ this -> formatterInstance ; }
docstring: Returns \yii\i18n\Formatter instance for current Currency instance
  @return \yii\i18n\Formatter
  @throws InvalidConfigException
docstring_tokens: Returns \ yii \ i18n \ Formatter instance for current Currency instance