function __construct(StorageInterface $storage) { $this->_basketManager = new BasketManager(); $this->_basketManager->loadData($storage->getBasketStorage()); $this->_productManager = new ProductManager(); $this->_productManager->loadData($storage->getProductStorage()); $this->_basketItemManager = new BasketItemManager(); $this->_basketItemManager->loadData($storage->getBasketItemStorage()); }