modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php 1 location
|
@@ 512-521 (lines=10) @@
|
509 |
|
} |
510 |
|
|
511 |
|
// can it be handled by an extension? |
512 |
|
if (!$this->container->hasExtension($node->namespaceURI)) { |
513 |
|
$extensionNamespaces = array_filter(array_map(function ($ext) { return $ext->getNamespace(); }, $this->container->getExtensions())); |
514 |
|
throw new InvalidArgumentException(sprintf( |
515 |
|
'There is no extension able to load the configuration for "%s" (in %s). Looked for namespace "%s", found %s', |
516 |
|
$node->tagName, |
517 |
|
$file, |
518 |
|
$node->namespaceURI, |
519 |
|
$extensionNamespaces ? sprintf('"%s"', implode('", "', $extensionNamespaces)) : 'none' |
520 |
|
)); |
521 |
|
} |
522 |
|
} |
523 |
|
} |
524 |
|
|
modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php 1 location
|
@@ 347-356 (lines=10) @@
|
344 |
|
continue; |
345 |
|
} |
346 |
|
|
347 |
|
if (!$this->container->hasExtension($namespace)) { |
348 |
|
$extensionNamespaces = array_filter(array_map(function ($ext) { return $ext->getAlias(); }, $this->container->getExtensions())); |
349 |
|
throw new InvalidArgumentException(sprintf( |
350 |
|
'There is no extension able to load the configuration for "%s" (in %s). Looked for namespace "%s", found %s', |
351 |
|
$namespace, |
352 |
|
$file, |
353 |
|
$namespace, |
354 |
|
$extensionNamespaces ? sprintf('"%s"', implode('", "', $extensionNamespaces)) : 'none' |
355 |
|
)); |
356 |
|
} |
357 |
|
} |
358 |
|
|
359 |
|
return $content; |