You are developing a module and need to add another column to a table introduced by another module MyCompany_MyModule via db schema.
How do you do that?
You are implementing a customization of the sales management within a module MyCompany_MySalesProcess. You have created several event observers to add the custom functionality. Each observer is a separate class, but they require some common functionality.
How do you implement the common functionality in the event observers, keeping maintainability and testability in mind?
You are building CLI that use the console to create a customer account with our custom command as like php bin/magento customer:user:create --customer-firstname="Mahin" --customer-lastname="Rahman" --customer-email="[email protected]" --customer-password="mahin@123" --website="1"
using: protected function configure() { $this->setName('customer:user:create') - >setDescription('Create new customer') ->setDefinition($this->getOptionsList()); } protected function getOptionsList(){ return [
------------------]; } Which below Option are not required in blank? (Choose 2)
A module you are developing requires the addition of new routes that should be accessible in the store front.
Where do you define your module's frontName?
The developer is required to convert a modules database scripts from old install/upgrade setup files to a data patches format and does not want to apply database changes that were already done by install/upgrade scripts.
The current module version is 1.5A
What would be the recommended solution to skip changes that were already applied via old format (install/upgrade scripts)?