File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ you can create your own named set or requirements to be reused consistently ever
26
26
// src/Validator/Constraints/PasswordRequirements.php
27
27
namespace App\Validator\Constraints;
28
28
29
- use Symfony\Component\Validator\Constraints\ Compound;
29
+ use Symfony\Component\Validator\Compound;
30
30
use Symfony\Component\Validator\Constraints as Assert;
31
31
32
32
/**
Original file line number Diff line number Diff line change @@ -307,10 +307,10 @@ parts of your application and mocking it in your tests.
307
307
308
308
Instead of translating a string at the time of creation, you can use a
309
309
"translatable object", which is an instance of the
310
- :class: `Symfony\\ Component\\ Translation\\ TranslatableMessage ` class. This object stores
310
+ :class: `Symfony\\ Component\\ Translation\\ Translatable ` class. This object stores
311
311
all the information needed to fully translate its contents when needed::
312
312
313
- use Symfony\Component\Translation\TranslatableMessage ;
313
+ use Symfony\Component\Translation\Translatable ;
314
314
315
315
// the first argument is required and it's the original message
316
316
$message = new Translatable('Symfony is great!');
You can’t perform that action at this time.
0 commit comments