0

What is the use of PageFactory and ResultPageFactory in Magento? Major difference between both and for what both are used for

1 Answer 1

2

There is only \Magento\Framework\View\Result\PageFactory class

ResultPageFactory is used like alias in m2

use Magento\Framework\View\Result\PageFactory as ResultPageFactory

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.