The method useAttributeAsKey() does not seem to exist on object<Symfony\Component...on\Builder\NodeBuilder>.
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
18
->arrayNode('url_checker')
19
->children()
20
->arrayNode('handlers')
21
->prototype('variable')
22
->end()
23
->useAttributeAsKey('name')
24
->end()
25
->end()
26
->end();
27
}
28
29
public function mapConfig(array &$scopeSettings, $currentScope, ContextualizerInterface $contextualizer)
30
{
31
if (isset($scopeSettings['url_checker']) && !empty($scopeSettings['url_checker']['handlers'])) {
32
foreach ($scopeSettings['url_checker']['handlers'] as $name => $options) {
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.