You are here

interface CountryResolverInterface in Price 8

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

Defines the interface for country resolvers.

Hierarchy

Expanded class hierarchy of CountryResolverInterface

All classes that implement CountryResolverInterface

File

src/Resolver/CountryResolverInterface.php, line 8

Namespace

Drupal\price\Resolver
View source
interface CountryResolverInterface {

  /**
   * Resolves the country.
   *
   * @return \Drupal\price\Country|null
   *   The country object, if resolved. Otherwise NULL, indicating that the next
   *   resolver in the chain should be called.
   */
  public function resolve();

}

Members

Namesort descending Modifiers Type Description Overrides
CountryResolverInterface::resolve public function Resolves the country. 2