platform/api/symfony/Component/Mailer/DataCollector/MessageDataCollector.yaml
2024-09-02 10:44:11 -07:00

46 lines
1.6 KiB
YAML

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: []