You are here

public function OrderStoreResolver::__construct in Commerce Core 8.2

Constructs a new OrderStoreResolver object.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

File

modules/order/src/Resolver/OrderStoreResolver.php, line 30

Class

OrderStoreResolver
Returns the order's store, when an order is present in the URL.

Namespace

Drupal\commerce_order\Resolver

Code

public function __construct(RouteMatchInterface $route_match) {
  $this->routeMatch = $route_match;
}