Solved

You Added a New Constructor Argument to an Existing Action

Question 22

Multiple Choice

You added a new constructor argument to an existing action controller class. When you reload the page you get a PHP error that the wrong argument is passed to the class. How do you fix this?


A) Clean the page cache
B) Deploy static content
C) Clean the <magento_root>/generated/ folder Clean the <magento_root>/generated/ folder
D) Clean the config cache

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents