You are here

CurrentCountryInterface.php in Price 2.x

Namespace

Drupal\price

File

src/CurrentCountryInterface.php
View source
<?php

namespace Drupal\price;


/**
 * Holds a reference to the current country, resolved on demand.
 *
 * @see \Drupal\price\CurrentCountry
 */
interface CurrentCountryInterface {

  /**
   * Gets the country for the current request.
   *
   * @return \Drupal\price\Country
   *   The country.
   */
  public function getCountry();

}

Interfaces

Namesort descending Description
CurrentCountryInterface Holds a reference to the current country, resolved on demand.