Closed
Description
During some review I've found three different ways of reading and writing to the registry:
$this->_registry->register(self::REGISTRY_KEY_CURRENT_INTEGRATION, $integrationData);
$this->_coreRegistry->register('current_widget_instance', $widgetInstance);
$this->_objectManager->get('Magento\Framework\Registry')->register('current_category', $category);
Which one is the official way?
Metadata
Metadata
Assignees
Labels
No labels