File tree 1 file changed +12
-2
lines changed
lib/internal/Magento/Framework/Validator 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Framework \ObjectManagerInterface ;
11
11
use Magento \Framework \Phrase ;
12
12
use Magento \Framework \Validator ;
13
+ use Magento \Framework \Cache \FrontendInterface ;
13
14
14
15
/**
15
16
* Factory for \Magento\Framework\Validator and \Magento\Framework\Validator\Builder.
16
17
*/
17
18
class Factory
18
19
{
20
+ /**
21
+ * cache key
22
+ *
23
+ * @deprecated
24
+ */
25
+ const CACHE_KEY = __CLASS__ ;
26
+
19
27
/**
20
28
* @var ObjectManagerInterface
21
29
*/
@@ -26,7 +34,7 @@ class Factory
26
34
*
27
35
* @var iterable|null
28
36
*/
29
- protected $ _configFiles ;
37
+ protected $ _configFiles = null ;
30
38
31
39
/**
32
40
* @var bool
@@ -43,10 +51,12 @@ class Factory
43
51
*
44
52
* @param ObjectManagerInterface $objectManager
45
53
* @param Reader $moduleReader
54
+ * @param FrontendInterface $cache @deprecated
46
55
*/
47
56
public function __construct (
48
57
ObjectManagerInterface $ objectManager ,
49
- Reader $ moduleReader
58
+ Reader $ moduleReader ,
59
+ FrontendInterface $ cache
50
60
) {
51
61
$ this ->_objectManager = $ objectManager ;
52
62
$ this ->moduleReader = $ moduleReader ;
You can’t perform that action at this time.
0 commit comments