You are here

interface StoreResolverInterface in Commerce Core 8.2

Defines the interface for store resolvers.

Hierarchy

Expanded class hierarchy of StoreResolverInterface

All classes that implement StoreResolverInterface

1 file declares its use of StoreResolverInterface
OrderStoreResolver.php in modules/order/src/Resolver/OrderStoreResolver.php

File

modules/store/src/Resolver/StoreResolverInterface.php, line 8

Namespace

Drupal\commerce_store\Resolver
View source
interface StoreResolverInterface {

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

}

Members