File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ public function getConfigTreeBuilder()
7878 throw new InvalidConfigurationException ('You need to configure a proxy_client to get the cache_manager needed for tag handling. ' );
7979 })
8080 ->end ()
81- ->validate ()
82- ->ifTrue (function ($ v ) {return $ v ['tags ' ]['rules ' ] && !$ v ['tags ' ]['enabled ' ];})
83- ->thenInvalid ('You need to enable the cache_manager and tags to use rules. ' )
84- ->end ()
8581 ->validate ()
8682 ->ifTrue (function ($ v ) {return $ v ['invalidation ' ]['enabled ' ] && !$ v ['cache_manager ' ]['enabled ' ];})
8783 ->then (function ($ v ) {
@@ -93,10 +89,6 @@ public function getConfigTreeBuilder()
9389 throw new InvalidConfigurationException ('You need to configure a proxy_client to get the cache_manager needed for invalidation handling. ' );
9490 })
9591 ->end ()
96- ->validate ()
97- ->ifTrue (function ($ v ) {return $ v ['invalidation ' ]['rules ' ] && !$ v ['invalidation ' ]['enabled ' ];})
98- ->thenInvalid ('You need to enable the cache_manager and invalidation to use rules. ' )
99- ->end ()
10092 ->validate ()
10193 ->ifTrue (function ($ v ) {
10294 return isset ($ v ['test ' ])
You can’t perform that action at this time.
0 commit comments