public function LoggingFormatter::formatRemoveService

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/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));
}