You are here

public function StoreResolverInterface::resolve in Commerce Core 8.2

Resolves the store.

Return value

\Drupal\commerce_store\Entity\StoreInterface|null The store, if resolved. Otherwise NULL, indicating that the next resolver in the chain should be called.

3 methods override StoreResolverInterface::resolve()
ChainStoreResolver::resolve in modules/store/src/Resolver/ChainStoreResolver.php
Resolves the store.
DefaultStoreResolver::resolve in modules/store/src/Resolver/DefaultStoreResolver.php
Resolves the store.
OrderStoreResolver::resolve in modules/order/src/Resolver/OrderStoreResolver.php
Resolves the store.

File

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

Class

StoreResolverInterface
Defines the interface for store resolvers.

Namespace

Drupal\commerce_store\Resolver

Code

public function resolve();