File tree 4 files changed +7
-4
lines changed
components/http_foundation
4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,9 @@ the following API which is intended mainly for internal purposes:
151
151
:method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface::getName `
152
152
Returns the name of the session bag.
153
153
154
+ :method: `Symfony\\ Component\\ HttpFoundation\\ Session\\ SessionBagInterface::clear `
155
+ Clears out data from bag.
156
+
154
157
.. _attribute-bag-interface :
155
158
156
159
Attributes
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ Then, define a service for this class:
309
309
https://symfony.com/schema/dic/services/services-1.0.xsd" >
310
310
<!-- ... -->
311
311
312
- <service id =" App\FileUploader" >
312
+ <service id =" App\Service\ FileUploader" >
313
313
<argument >%brochures_directory%</argument >
314
314
</service >
315
315
</container >
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ first register a new handler service with your database credentials:
204
204
205
205
<services >
206
206
<service id =" Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" public =" false" >
207
- <argument >env(DATABASE_URL)</argument >
207
+ <argument >% env(DATABASE_URL)% </argument >
208
208
209
209
<!-- you can also use PDO configuration, but requires passing two arguments: -->
210
210
<!-- <argument>mysql:dbname=mydatabase, host=myhost</argument>
@@ -296,7 +296,7 @@ passed to the ``PdoSessionHandler`` service:
296
296
297
297
<services >
298
298
<service id =" Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" public =" false" >
299
- <argument >env(DATABASE_URL)</argument >
299
+ <argument >% env(DATABASE_URL)% </argument >
300
300
<argument type =" collection" >
301
301
<argument key =" db_table" >customer_session</argument >
302
302
<argument key =" db_id_col" >guid</argument >
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ of your application::
100
100
.. note ::
101
101
102
102
By convention, the ``tests/ `` directory should replicate the directory
103
- of your bundle for unit tests. So, if you're testing a class in the
103
+ of your application for unit tests. So, if you're testing a class in the
104
104
``src/Util/ `` directory, put the test in the ``tests/Util/ ``
105
105
directory.
106
106
You can’t perform that action at this time.
0 commit comments