Skip to content

Commit fd3581f

Browse files
committed
[WebProfilerBundle] Add a "previews tab in mailer profiler for HTML email
1 parent 01d8181 commit fd3581f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

DataCollector/MessageDataCollector.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ public function getEvents(): MessageEvents
4242
return $this->data['events'];
4343
}
4444

45+
/**
46+
* @internal
47+
*/
48+
public function base64Encode(string $data): string
49+
{
50+
return base64_encode($data);
51+
}
52+
4553
/**
4654
* {@inheritdoc}
4755
*/

0 commit comments

Comments
 (0)