File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -113,10 +113,10 @@ for you:
113
113
[mysqld]
114
114
collation-server = utf8_general_ci
115
115
character-set-server = utf8
116
-
116
+
117
117
Using SQLite
118
118
~~~~~~~~~~~~
119
-
119
+
120
120
If you want to use SQLite as your database, you need to set the path
121
121
where your database file should be stored:
122
122
@@ -356,8 +356,8 @@ doesn't replace your existing methods).
356
356
357
357
.. caution ::
358
358
359
- Keep in mind that Doctrine's entity generator produces simple getters/setters.
360
- You should check generated entities and adjust getter/setter logic to your own
359
+ Keep in mind that Doctrine's entity generator produces simple getters/setters.
360
+ You should check generated entities and adjust getter/setter logic to your own
361
361
needs.
362
362
363
363
.. sidebar :: More about ``doctrine:generate:entities``
@@ -1445,6 +1445,16 @@ Some notable or interesting tasks include:
1445
1445
read the ":doc: `/bundles/DoctrineFixturesBundle/index `" entry of the
1446
1446
documentation.
1447
1447
1448
+ .. tip ::
1449
+
1450
+ This page shows working with Doctrine within a controller. You may also
1451
+ want to work with Doctrine elsewhere in your application. The
1452
+ :method: `Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ Controller::getDoctrine `
1453
+ method of the controller returns the ``doctrine `` service, you can work with
1454
+ this in the same way elsewhere by injecting this into your own
1455
+ services. See :doc: `/book/service_container ` for more on creating
1456
+ your own services.
1457
+
1448
1458
Summary
1449
1459
-------
1450
1460
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ assets_version_format
339
339
340
340
**type **: ``string `` **default **: ``%%s?%%s ``
341
341
342
- This specifies a `sprintf() `_ pattern that will be used with the `assets_version `_
342
+ This specifies a :phpfunction: `sprintf ` pattern that will be used with the `assets_version `_
343
343
option to construct an asset's path. By default, the pattern adds the asset's
344
344
version as a query string. For example, if ``assets_version_format `` is set to
345
345
``%%s?version=%%s `` and ``assets_version `` is set to ``5 ``, the asset's path
@@ -501,4 +501,3 @@ Full Default Configuration
501
501
it will start on demand now.
502
502
503
503
.. _`protocol-relative` : http://tools.ietf.org/html/rfc3986#section-4.2
504
- .. _`sprintf()` : http://php.net/manual/en/function.sprintf.php
You can’t perform that action at this time.
0 commit comments