File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -111,10 +111,10 @@ for you:
111
111
[mysqld]
112
112
collation-server = utf8_general_ci
113
113
character-set-server = utf8
114
-
114
+
115
115
Using SQLite
116
116
~~~~~~~~~~~~
117
-
117
+
118
118
If you want to use SQLite as your database, you need to set the path
119
119
where your database file should be stored:
120
120
@@ -354,8 +354,8 @@ doesn't replace your existing methods).
354
354
355
355
.. caution ::
356
356
357
- Keep in mind that Doctrine's entity generator produces simple getters/setters.
358
- You should check generated entities and adjust getter/setter logic to your own
357
+ Keep in mind that Doctrine's entity generator produces simple getters/setters.
358
+ You should check generated entities and adjust getter/setter logic to your own
359
359
needs.
360
360
361
361
.. sidebar :: More about ``doctrine:generate:entities``
@@ -1448,6 +1448,16 @@ Some notable or interesting tasks include:
1448
1448
read the ":doc: `/bundles/DoctrineFixturesBundle/index `" entry of the
1449
1449
documentation.
1450
1450
1451
+ .. tip ::
1452
+
1453
+ This page shows working with Doctrine within a controller. You may also
1454
+ want to work with Doctrine elsewhere in your application. The
1455
+ :method: `Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ Controller::getDoctrine `
1456
+ method of the controller returns the ``doctrine `` service, you can work with
1457
+ this in the same way elsewhere by injecting this into your own
1458
+ services. See :doc: `/book/service_container ` for more on creating
1459
+ your own services.
1460
+
1451
1461
Summary
1452
1462
-------
1453
1463
You can’t perform that action at this time.
0 commit comments