0

I made some modification related to magento2 order pdf.

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

  • You Can not Rewrite Abstract Class In Magento – Rk Rathod Mar 4 '19 at 7:12
  • then what is the solution – 3434 Mar 4 '19 at 7:12
  • override the class that is using that method rather than abstract class – Rk Rathod Mar 4 '19 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 '19 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 '19 at 9:43