We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6ce91b commit 3e765e0Copy full SHA for 3e765e0
security.rst
@@ -177,18 +177,18 @@ create dummy database users:
177
$ php bin/console make:fixtures
178
179
The class name of the fixtures to create (e.g. AppFixtures):
180
- > UserFixture
+ > UserFixtures
181
182
Use this service to encode the passwords:
183
184
.. code-block:: diff
185
186
- // src/DataFixtures/UserFixture.php
+ // src/DataFixtures/UserFixtures.php
187
188
+ use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
189
// ...
190
191
- class UserFixture extends Fixture
+ class UserFixtures extends Fixture
192
{
193
+ private $passwordEncoder;
194
0 commit comments