File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Validator \Validator ;
13
13
14
14
use Symfony \Component \Validator \Context \ExecutionContextInterface ;
15
+ use Symfony \Contract \Service \ResetInterface ;
15
16
16
17
/**
17
18
* Collects some data about validator calls.
18
19
*
19
20
* @author Maxime Steinhausser <maxime.steinhausser@gmail.com>
20
21
*/
21
- class TraceableValidator implements ValidatorInterface
22
+ class TraceableValidator implements ValidatorInterface, ResetInterface
22
23
{
23
24
private $ validator ;
24
25
private $ collectedData = array ();
Original file line number Diff line number Diff line change 17
17
],
18
18
"require" : {
19
19
"php" : " ^7.1.3" ,
20
+ "symfony/contracts" : " ^1.0" ,
20
21
"symfony/polyfill-ctype" : " ~1.8" ,
21
22
"symfony/polyfill-mbstring" : " ~1.0" ,
22
23
"symfony/translation" : " ~3.4|~4.0"
You can’t perform that action at this time.
0 commit comments