File tree 4 files changed +8
-16
lines changed
4 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -711,11 +711,10 @@ Learn more
711
711
:maxdepth: 1
712
712
:glob:
713
713
714
- form/*
715
-
716
- * :doc: `/controller/upload_file `
717
- * :doc: `/reference/forms/types `
718
- * :doc: `/http_cache/form_csrf_caching `
714
+ /form/*
715
+ /controller/upload_file
716
+ /reference/forms/types
717
+ /http_cache/form_csrf_caching
719
718
720
719
.. _`Symfony Form component` : https://github.com/symfony/form
721
720
.. _`DateTime` : https://php.net/manual/en/class.datetime.php
Original file line number Diff line number Diff line change @@ -2090,7 +2090,7 @@ settings from the base pool as defaults.
2090
2090
2091
2091
.. note ::
2092
2092
2093
- Your service MUST implement the ``Psr\\ Cache\ \CacheItemPoolInterface `` interface.
2093
+ Your service MUST implement the ``Psr\Cache\CacheItemPoolInterface `` interface.
2094
2094
2095
2095
public
2096
2096
""""""
Original file line number Diff line number Diff line change @@ -177,18 +177,18 @@ create dummy database users:
177
177
$ php bin/console make:fixtures
178
178
179
179
The class name of the fixtures to create (e.g. AppFixtures):
180
- > UserFixture
180
+ > UserFixtures
181
181
182
182
Use this service to encode the passwords:
183
183
184
184
.. code-block :: diff
185
185
186
- // src/DataFixtures/UserFixture .php
186
+ // src/DataFixtures/UserFixtures .php
187
187
188
188
+ use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
189
189
// ...
190
190
191
- class UserFixture extends Fixture
191
+ class UserFixtures extends Fixture
192
192
{
193
193
+ private $passwordEncoder;
194
194
Original file line number Diff line number Diff line change @@ -143,13 +143,6 @@ utilities used in the functional tests:
143
143
144
144
Your First Functional Test
145
145
~~~~~~~~~~~~~~~~~~~~~~~~~~
146
-
147
- First, install the BrowserKit component in your project:
148
-
149
- .. code-block :: terminal
150
-
151
- $ composer require --dev symfony/browser-kit
152
-
153
146
Functional tests are PHP files that typically live in the ``tests/Controller ``
154
147
directory for your bundle. If you want to test the pages handled by your
155
148
``PostController `` class, start by creating a new ``PostControllerTest.php ``
You can’t perform that action at this time.
0 commit comments