title: Magento 2 Override Magento Checkout Model Cart updateItems function
body: <p>I Need to Override updateItems function from \Magento\Checkout\Model\Cart
  Also need to pass my custom helper class in __construct arguments . This is my __construct function of override class</p>
  
  <pre><code>namespace Vendor\Module\Model;
  use Magento\Catalog\Api\ProductRepositoryInterface;
  use Magento\Checkout\Model\Session;
  Class Cart extends \Magento\Checkout\Model\Cart
  {
  public function __construct(\Magento\Framework\Event\ManagerInterface $eventManager,
                              \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig,
                              \Magento\Store\Model\StoreManagerInterface $storeManager,
                              \Magento\Checkout\Model\ResourceModel\Cart $resourceCart, Session $checkoutSession, \Magento\Customer\Model\Session $customerSession, \Magento\Framework\Message\ManagerInterface $messageManager, \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry, \Magento\CatalogInventory\Api\StockStateInterface $stockState, \Magento\Quote\Api\CartRepositoryInterface $quoteRepository, ProductRepositoryInterface $productRepository,
                              \Vendor\Module\Helper\Data $helper, array $data = []
                              )
  {
      $this-&gt;helper = $helper;
      parent::__construct($eventManager, $scopeConfig, $storeManager, $resourceCart, $checkoutSession, $customerSession, $messageManager, $stockRegistry, $stockState, $quoteRepository, $productRepository, $data);
  
  }
  }
  </code></pre>
  
  <p>After this i run setup:upgrade,compile, static content deploy commands. Also remove all folders in var. But when i pass the argument in __construct function. It is not working. It displays blank page. When i remove my arguments from __construct function. then page is loading.</p>