You are here

LocaleResolverInterface.php in Price 3.x

File

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

namespace Drupal\price\Resolver;


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

  /**
   * Resolves the locale.
   *
   * @return \Drupal\price\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.