File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Original file line number Diff line number Diff line change @@ -423,8 +423,9 @@ CamelCase to snake_case
423
423
interface was introduced in Symfony 2.7.
424
424
425
425
In many formats, it's common to use underscores to separate words (also known
426
- as snake_case). However, PSR-1 specifies that the preferred style for PHP
427
- properties and methods is CamelCase.
426
+ as snake_case). However, in Symfony applications is common to use CamelCase to
427
+ name properties (even though the `PSR-1 standard `_ doesn't recommend any
428
+ specific case for property names).
428
429
429
430
Symfony provides a built-in name converter designed to transform between
430
431
snake_case and CamelCased styles during serialization and deserialization
@@ -689,5 +690,6 @@ Learn more
689
690
A popular alternative to the Symfony Serializer Component is the third-party
690
691
library, `JMS serializer `_ (released under the Apache license, so incompatible with GPLv2 projects).
691
692
693
+ .. _`PSR-1 standard` : http://www.php-fig.org/psr/psr-1/
692
694
.. _`JMS serializer` : https://github.com/schmittjoh/serializer
693
695
.. _Packagist : https://packagist.org/packages/symfony/serializer
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ picker:
109
109
110
110
<script >
111
111
$ (document ).ready (function () {
112
- // configure the bootstrap datepicker
112
+ // you may need to change this code if you are not using Bootstrap Datepicker
113
113
$ (' .js-datepicker' ).datepicker ({
114
114
format: ' yyyy-mm-dd'
115
115
});
Original file line number Diff line number Diff line change @@ -916,6 +916,7 @@ Learn more
916
916
917
917
testing/*
918
918
919
+ * :ref: `Testing a console command <console-testing-commands >`
919
920
* :doc: `The chapter about tests in the Symfony Framework Best Practices </best_practices/tests >`
920
921
* :doc: `/components/dom_crawler `
921
922
* :doc: `/components/css_selector `
You can’t perform that action at this time.
0 commit comments