You are here

protected property CurrentLocale::$locales in Price 2.x

Same name and namespace in other branches
  1. 8 src/CurrentLocale.php \Drupal\price\CurrentLocale::locales
  2. 3.x src/CurrentLocale.php \Drupal\price\CurrentLocale::locales
  3. 2.0.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;