Solved

You Added a New Constructor Argument to an Existing Action

Question 95

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