0

This question already has an answer here:

I made some modification related to magento2 order pdf.

I want to know how to override a abstract class AbstractPdf extends \Magento\Framework\DataObject

marked as duplicate by PЯINCƏ, Manashvi Birla, Mohit Kumar Arora, Aasim Goriya, liyakat Mar 4 at 10:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • You Can not Rewrite Abstract Class In Magento – Rk Rathod Mar 4 at 7:12
  • then what is the solution – 3434 Mar 4 at 7:12
  • override the class that is using that method rather than abstract class – Rk Rathod Mar 4 at 7:15
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review – Jai Mar 4 at 7:30
  • Why do you want to overwrite AbstractPdf? Just overwrite the class (or classes) which are extending AbstractPdf and change the methods there. – HelgeB Mar 4 at 9:43