Skip to content

Commit 76af12d

Browse files
Mellthasbsweeney
authored andcommitted
Actually trigger the begin_frame event
The end_frame event is already triggered at the end of the render() method.
1 parent be3afbf commit 76af12d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Renderer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ public function render(Frame $frame)
5858
{
5959
global $_dompdf_debug;
6060

61+
$this->_check_callbacks("begin_frame", $frame);
62+
6163
if ($_dompdf_debug) {
6264
echo $frame;
6365
flush();

0 commit comments

Comments
 (0)