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
Entity Listener documentation is incomplete #457
Comments
We always welcome pull requests :D |
Asking a normal user to provide documentation for something he didn't write is kind of ridiculous. The documentation is still lacking and this feature just doesn't seem to work at all. Really frustrating. |
@trappar I re-state what @kimhemsoe: patches welcome. "normal user" doesn't mean "we get stuff done by others". While I understand this frustration of yours, this is not the tone with which you can ask for fixes. |
I mean no offense, it just seems to me pretty ridiculous to tell him to fix the problem himself when he doesn't even understand what the problem is. Also, pretty much everyone welcomes pull requests, that's not the point of issues. Issues are for notifying people who might be in a position to fix things that there are things to be fixed. If no one has time to fix it then so be it, but don't shoot the messenger. |
Can anybody take care about it? // cc @kimhemsoe |
I've followed the doc, for those who are still struggling. Symfony 2.8, Doctrine 2.4 For example, my test sends a mail when a doctrine entity is updated. services.yml
The mailer service i created needs the templating service to render twig in emails. You need to register the Listener in the doctrine entity listener event cycle. DocumentListener.php
My mailer is just a simple mailer :
And in the Document Entity, don't forget the annotation
|
Hello everyone, I have read this document http://symfony.com/doc/current/bundles/DoctrineBundle/entity-listeners.html; Actually I don't even know what other parameters this tag has; I have tried to find the answer myself , but I do not know how to search for my problem, because I do not know what keywords to use; so I agree with @trappar , I am willing to submit pr, but the premise is that I know how to solve the problem; |
Hi, you can try this;
|
The documentation about entity listener is obviously uncomplete. There is a missing part. I would really enjoy being able to use the freaking new feature
The text was updated successfully, but these errors were encountered: