-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add various comments in the codebase #1291
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
Conversation
src/Controller/BlogController.php
Outdated
| public function postShow(Post $post): Response | ||
| { | ||
| // Symfony's 'dump()' function is an improved version of PHP's 'var_dump()' but | ||
| // Symfony's 'dump()' and 'dd()' functions are an improved version of PHP's 'var_dump()' but |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dd is not just an improved var_dump. It is dump + die, which is quite different that just dumping.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right, now the phrasing is weird
do you think I revert and adding the dd() is not worth it? or keep it but rephrase?
thank you @stof
4c464c4 to
2b7005b
Compare
2b7005b to
1f1e6b9
Compare
|
Thanks Antoine! |
| * existing bundles that let you generate ready-to-use backends without effort. | ||
| * | ||
| * See http://knpbundles.com/keyword/admin | ||
| * See https://symfony.com/bundles/EasyAdminBundle/current/index.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've replaced this link by https://symfony.com/bundle There are several admin bundles, so it's not fair to link specifically to one of them 👍
Add some comments while reading some source code
Ref https://symfony.com/doc/current/setup.html#the-symfony-demo-application