You are here

interface CountryResolverInterface in Commerce Core 8.2

Defines the interface for country resolvers.

Hierarchy

Expanded class hierarchy of CountryResolverInterface

All classes that implement CountryResolverInterface

1 file declares its use of CountryResolverInterface
StoreCountryResolver.php in modules/store/src/Resolver/StoreCountryResolver.php

File

src/Resolver/CountryResolverInterface.php, line 8

Namespace

Drupal\commerce\Resolver
View source
interface CountryResolverInterface {

  /**
   * Resolves the country.
   *
   * @return \Drupal\commerce\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. 3