. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Report; use TCPDF; /** * Class TcpdfWrapper */ class TcpdfWrapper extends TCPDF { /** * Expose protected method in base class. * * @return float Return the remaining width */ public function getRemainingWidth(): float { return parent::getRemainingWidth(); } /** * Expose protected method in base class. * * @param mixed $h Cell height. Default value: 0. * @param mixed $y Starting y position, leave empty for current position. * @param bool $addpage If true add a page, otherwise only return the true/false state * * @return boolean true in case of page break, false otherwise. */ public function checkPageBreak($h = 0, $y = '', $addpage = true): bool { return parent::checkPageBreak($h, $y, $addpage); } }