From 3e765e0d9d0941e44de39dfa540fe7ffb709841c Mon Sep 17 00:00:00 2001 From: Pierre Grimaud Date: Wed, 21 Nov 2018 00:01:51 +0100 Subject: [PATCH] Rename UserFixture to UserFixtures --- security.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security.rst b/security.rst index 7a76aedc33b..e4a5d4101b9 100644 --- a/security.rst +++ b/security.rst @@ -177,18 +177,18 @@ create dummy database users: $ php bin/console make:fixtures The class name of the fixtures to create (e.g. AppFixtures): - > UserFixture + > UserFixtures Use this service to encode the passwords: .. code-block:: diff - // src/DataFixtures/UserFixture.php + // src/DataFixtures/UserFixtures.php + use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface; // ... - class UserFixture extends Fixture + class UserFixtures extends Fixture { + private $passwordEncoder;