You are here

public function LoggingFormatter::formatRemoveService in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Compiler/LoggingFormatter.php \Symfony\Component\DependencyInjection\Compiler\LoggingFormatter::formatRemoveService()

File

vendor/symfony/dependency-injection/Compiler/LoggingFormatter.php, line 21

Class

LoggingFormatter
Used to format logging messages during the compilation.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function formatRemoveService(CompilerPassInterface $pass, $id, $reason) {
  return $this
    ->format($pass, sprintf('Removed service "%s"; reason: %s', $id, $reason));
}