Skip to content

Instantly share code, notes, and snippets.

View isana53's full-sized avatar

Isana Bui isana53

View GitHub Profile
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Learning_FirstUnit" setup_version="0.0.1"> <sequence>
<module name="Magento_Catalog"/> </sequence>
</module>
@isana53
isana53 / Class context Magento
Created August 19, 2020 03:08
This is a class context that could reduce the speed of Action processing
/**    
* @param \Magento\Framework\App\RequestInterface $request    
* @param \Magento\Framework\App\ResponseInterface $response    
* @param \Magento\Framework\ObjectManagerInterface $objectManager    
* @param \Magento\Framework\Event\ManagerInterface $eventManager    
* @param \Magento\Framework\UrlInterface $url    
* @param \Magento\Framework\App\Response\RedirectInterface $redirect    
* @param \Magento\Framework\App\ActionFlag $actionFlag    
* @param \Magento\Framework\App\ViewInterface $view    
* @param \Magento\Framework\Message\ManagerInterface $messageManager