public function CommerceRepeatOrder::__construct in Commerce Repeat Order 8
Same name and namespace in other branches
- 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
Namespace
Drupal\commerce_repeat_order\ControllerCode
public function __construct(CartManager $cartManager, CartProvider $cartProvider) {
$this->cartManager = $cartManager;
$this->cartProvider = $cartProvider;
}