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 1212namespace Symfony \Component \Validator \Validator ;
1313
1414use Symfony \Component \Validator \Context \ExecutionContextInterface ;
15+ use Symfony \Contract \Service \ResetInterface ;
1516
1617/**
1718 * Collects some data about validator calls.
1819 *
1920 * @author Maxime Steinhausser <maxime.steinhausser@gmail.com>
2021 */
21- class TraceableValidator implements ValidatorInterface
22+ class TraceableValidator implements ValidatorInterface, ResetInterface
2223{
2324 private $ validator ;
2425 private $ collectedData = array ();
Original file line number Diff line number Diff line change 1717 ],
1818 "require" : {
1919 "php" : " ^7.1.3" ,
20+ "symfony/contracts" : " ^1.0" ,
2021 "symfony/polyfill-ctype" : " ~1.8" ,
2122 "symfony/polyfill-mbstring" : " ~1.0" ,
2223 "symfony/translation" : " ~3.4|~4.0"
You can’t perform that action at this time.
0 commit comments