Skip to content

Conversation

@94noni
Copy link
Contributor

@94noni 94noni commented Dec 16, 2021

Add some comments while reading some source code
Ref https://symfony.com/doc/current/setup.html#the-symfony-demo-application

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
Copy link
Member

@stof stof Dec 16, 2021

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.

Copy link
Contributor Author

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

@94noni 94noni force-pushed the ft-various-comments branch from 4c464c4 to 2b7005b Compare December 17, 2021 10:03
@94noni 94noni force-pushed the ft-various-comments branch from 2b7005b to 1f1e6b9 Compare December 23, 2021 13:03
@javiereguiluz javiereguiluz merged commit cf5e12d into symfony:main Dec 27, 2021
@javiereguiluz
Copy link
Member

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
Copy link
Member

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 👍

@94noni 94noni deleted the ft-various-comments branch December 27, 2021 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants