You are here

public function CountryResolverInterface::resolve in Price 3.x

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

Resolves the country.

Return value

\Drupal\price\Country|null The country object, if resolved. Otherwise NULL, indicating that the next resolver in the chain should be called.

2 methods override CountryResolverInterface::resolve()
ChainCountryResolver::resolve in src/Resolver/ChainCountryResolver.php
Resolves the country.
DefaultCountryResolver::resolve in src/Resolver/DefaultCountryResolver.php
Resolves the country.

File

src/Resolver/CountryResolverInterface.php, line 17

Class

CountryResolverInterface
Defines the interface for country resolvers.

Namespace

Drupal\price\Resolver

Code

public function resolve();