Skip to content

Commit c2c94c9

Browse files
Added 'See also' in related email functions (#122)
1 parent dd66eef commit c2c94c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Codeception/Module/Symfony/MailerAssertionsTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function seeEmailIsSent(int $expectedCount = 1): void
4242
* Returns the last sent email.
4343
* The function is based on `\Symfony\Component\Mailer\EventListener\MessageLoggerListener`, which means:
4444
* If your app performs a HTTP redirect after sending the email, you need to suppress it using [stopFollowingRedirects()](https://codeception.com/docs/modules/Symfony#stopFollowingRedirects) first.
45+
* See also: [grabSentEmails()](https://codeception.com/docs/modules/Symfony#grabSentEmails)
4546
*
4647
* ```php
4748
* <?php
@@ -66,6 +67,7 @@ public function grabLastSentEmail(): ?Email
6667
* Returns an array of all sent emails.
6768
* The function is based on `\Symfony\Component\Mailer\EventListener\MessageLoggerListener`, which means:
6869
* If your app performs a HTTP redirect after sending the email, you need to suppress it using [stopFollowingRedirects()](https://codeception.com/docs/modules/Symfony#stopFollowingRedirects) first.
70+
* See also: [grabLastSentEmail()](https://codeception.com/docs/modules/Symfony#grabLastSentEmail)
6971
*
7072
* ```php
7173
* <?php

0 commit comments

Comments
 (0)