我已经在symfony中使用命令'$ composer require jonasarts / tcpdf-bundle'安装了TCPDF。 我想使用名为“ PdfHeaderFooterController”的自定义类更改页眉和页脚的内容。但我收到此错误:
[Semantical Error] The annotation "@public" in method TCPDF::getCellHeight() was never imported. Did you maybe forg
et to add a "use" statement for this annotation? in C:\xampp\htdocs\myworkspace\ApartmentManagementSystem\Apartment
ManagementScms\src\AppBundle/Controller/ (which is being imported from "C:\xampp\htdocs\myworkspace\ApartmentManage
mentSystem\ApartmentManagementScms/app/config\routing.yml"). Make sure annotations are installed and enabled.
我应该重写TCPDF类的所有方法,还是有其他替代解决方案来克服此问题?