name: MessageDataCollector
class_comment: null
dependencies:
- name: Request
  type: class
  source: Symfony\Component\HttpFoundation\Request
- name: Response
  type: class
  source: Symfony\Component\HttpFoundation\Response
- name: DataCollector
  type: class
  source: Symfony\Component\HttpKernel\DataCollector\DataCollector
- name: MessageEvents
  type: class
  source: Symfony\Component\Mailer\Event\MessageEvents
- name: MessageLoggerListener
  type: class
  source: Symfony\Component\Mailer\EventListener\MessageLoggerListener
properties: []
methods:
- name: base64Encode
  visibility: public
  parameters:
  - name: data
  comment: "# * @author Fabien Potencier <fabien@symfony.com>\n# */\n# final class\
    \ MessageDataCollector extends DataCollector\n# {\n# private MessageEvents $events;\n\
    # \n# public function __construct(MessageLoggerListener $logger)\n# {\n# $this->events\
    \ = $logger->getEvents();\n# }\n# \n# public function collect(Request $request,\
    \ Response $response, ?\\Throwable $exception = null): void\n# {\n# $this->data['events']\
    \ = $this->events;\n# }\n# \n# public function getEvents(): MessageEvents\n# {\n\
    # return $this->data['events'];\n# }\n# \n# /**\n# * @internal"
- name: reset
  visibility: public
  parameters: []
  comment: null
- name: getName
  visibility: public
  parameters: []
  comment: null
traits:
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\HttpKernel\DataCollector\DataCollector
- Symfony\Component\Mailer\Event\MessageEvents
- Symfony\Component\Mailer\EventListener\MessageLoggerListener
interfaces: []