You are here

protected property CurrentLocale::$locales in Price 8

Same name and namespace in other branches
  1. 3.x src/CurrentLocale.php \Drupal\price\CurrentLocale::locales
  2. 2.0.x src/CurrentLocale.php \Drupal\price\CurrentLocale::locales
  3. 2.x src/CurrentLocale.php \Drupal\price\CurrentLocale::locales
  4. 3.0.x src/CurrentLocale.php \Drupal\price\CurrentLocale::locales

Static cache of resolved locales. One per request.

Type: \SplObjectStorage

File

src/CurrentLocale.php, line 40

Class

CurrentLocale
Holds a reference to the current locale, resolved on demand.

Namespace

Drupal\price

Code

protected $locales;