You are here

public function CommerceRepeatOrder::__construct in Commerce Repeat Order 8

Same name and namespace in other branches
  1. 8.2 src/Controller/CommerceRepeatOrder.php \Drupal\commerce_repeat_order\Controller\CommerceRepeatOrder::__construct()

CommerceRepeatOrder constructor.

Parameters

CartManager $cartManager:

CartProvider $cartProvider:

File

src/Controller/CommerceRepeatOrder.php, line 44

Class

CommerceRepeatOrder

Namespace

Drupal\commerce_repeat_order\Controller

Code

public function __construct(CartManager $cartManager, CartProvider $cartProvider) {
  $this->cartManager = $cartManager;
  $this->cartProvider = $cartProvider;
}