You are here

public function LoggingFormatter::formatUpdateReference in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/LoggingFormatter.php \Symfony\Component\DependencyInjection\Compiler\LoggingFormatter::formatUpdateReference()

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/LoggingFormatter.php, line 31

Class

LoggingFormatter
Used to format logging messages during the compilation.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function formatUpdateReference(CompilerPassInterface $pass, $serviceId, $oldDestId, $newDestId) {
  return $this
    ->format($pass, sprintf('Changed reference of service "%s" previously pointing to "%s" to "%s".', $serviceId, $oldDestId, $newDestId));
}