You are here

StoreResolverInterface.php in Commerce Core 8.2

File

modules/store/src/Resolver/StoreResolverInterface.php
View source
<?php

namespace Drupal\commerce_store\Resolver;


/**
 * Defines the interface for store resolvers.
 */
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();

}

Interfaces

Namesort descending Description
StoreResolverInterface Defines the interface for store resolvers.