function ServiceLocatorTrait::createCircularReferenceException
1 call to ServiceLocatorTrait::createCircularReferenceException()
- ServiceLocatorTrait::get in vendor/
symfony/ service-contracts/ ServiceLocatorTrait.php
1 method overrides ServiceLocatorTrait::createCircularReferenceException()
- ServiceLocator::createCircularReferenceException in vendor/
symfony/ dependency-injection/ ServiceLocator.php
File
-
vendor/
symfony/ service-contracts/ ServiceLocatorTrait.php, line 110
Class
- ServiceLocatorTrait
- A trait to help implement ServiceProviderInterface.
Namespace
Symfony\Contracts\ServiceCode
private function createCircularReferenceException(string $id, array $path) : ContainerExceptionInterface {
return new class (sprintf('Circular reference detected for service "%s", path: "%s".', $id, implode(' -> ', $path))) extends \RuntimeException implements ContainerExceptionInterface {
};
}