PluralFormula::reset

public PluralFormula::reset()

Resets the static formulae cache.

Return value

self The PluralFormula object.

Overrides PluralFormulaInterface::reset

File

core/modules/locale/src/PluralFormula.php, line 106

Class

PluralFormula
Manages the storage of plural formula per language in state.

Namespace

Drupal\locale

Code

1
2
3
4
public function reset() {
  $this->formulae = NULL;
  return $this;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.