You are here

CurrentLocaleInterface.php in Price 8

Namespace

Drupal\price

File

src/CurrentLocaleInterface.php
View source
<?php

namespace Drupal\price;


/**
 * Holds a reference to the current locale, resolved on demand.
 *
 * @see \Drupal\price\CurrentLocale
 */
interface CurrentLocaleInterface {

  /**
   * Gets the locale for the current request.
   *
   * @return \Drupal\price\Locale
   *   The locale.
   */
  public function getLocale();

}

Interfaces

Namesort descending Description
CurrentLocaleInterface Holds a reference to the current locale, resolved on demand.