You are here

LocaleResolverInterface.php in Commerce Core 8.2

File

src/Resolver/LocaleResolverInterface.php
View source
<?php

namespace Drupal\commerce\Resolver;


/**
 * Defines the interface for locale resolvers.
 */
interface LocaleResolverInterface {

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

}

Interfaces

Namesort descending Description
LocaleResolverInterface Defines the interface for locale resolvers.