Skip to content

Update email.rst #9737

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Update email.rst #9737

wants to merge 1 commit into from

Conversation

abelardolg
Copy link

  1. Above the method (line#54):
    public function index($name, \Swift_Mailer $mailer)
    a PHP Doc should be written although the IDE provides a functionality to automatically write it.

  2. Below this same method, an example should be written to run it (line new import resources notation issue with @ on yaml files #85):
    I run this method this way: http://localhost:8000/email/username but it doesn't work, it gives this error:
    No route found for "GET /email/username"
    I think it is a bit unclear.

1) Above the method (line#54):
public function index($name, \Swift_Mailer $mailer)
a PHP Doc should be written although the IDE provides a functionality to automatically write it.

2) Below this same method, an example should be written to run it (line #85):
I run this method this way: http://localhost:8000/email/username but it doesn't work, it gives this error:
No route found for "GET /email/username"
I think it is a bit unclear.
@@ -51,6 +51,7 @@ The Swift Mailer library works by creating, configuring and then sending
of the message and is accessible via the ``Swift_Mailer`` service. Overall,
sending an email is pretty straightforward::

// Put PHP Doc here
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand what you mean with this. What kind of PHPdoc would you like to see here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xabbuh
PHPDoc related to these parameters: $name, \Swift_Mailer $mailer but I understand this information is clearly irrelevant to this context.
This pull request was made when I am lost how to send an email but finally I could do it.
I am going to close it.

@abelardolg abelardolg closed this May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants