8000 minor #10690 Rename UserFixture to UserFixtures (pgrimaud) · symfony/symfony-docs@d948a41 · GitHub
[go: up one dir, main page]

Skip to content

Commit d948a41

Browse files
committed
minor #10690 Rename UserFixture to UserFixtures (pgrimaud)
This PR was merged into the 4.1 branch. Discussion ---------- Rename UserFixture to UserFixtures Just a quick question, the fixtures are named with plural in this page : https://symfony.com/doc/current/security.html ``` For example, by using DoctrineFixturesBundle, you can create dummy database users: ... The class name of the fixtures to create (e.g. AppFixtures): ``` Why don't use `UserFixtures` instead of `UserFixture` to follow the same logic? Commits ------- 3e765e0 Rename UserFixture to UserFixtures
2 parents e6f65e0 + 3e765e0 commit d948a41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,18 +177,18 @@ create dummy database users:
177177
$ php bin/console make:fixtures
178178
179179
The class name of the fixtures to create (e.g. AppFixtures):
180-
> UserFixture
180+
> UserFixtures
181181
182182
Use this service to encode the passwords:
183183

184184
.. code-block:: diff
185185
186-
// src/DataFixtures/UserFixture.php
186+
// src/DataFixtures/UserFixtures.php
187187
188188
+ use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
189189
// ...
190190
191-
class UserFixture extends Fixture
191+
class UserFixtures extends Fixture
192192
{
193193
+ private $passwordEncoder;
194194

0 commit comments

Comments
 (0)
0