You are here

private function ExceptionHandler::formatClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/debug/ExceptionHandler.php \Symfony\Component\Debug\ExceptionHandler::formatClass()
2 calls to ExceptionHandler::formatClass()
ExceptionHandler::formatArgs in vendor/symfony/debug/ExceptionHandler.php
Formats an array as a string.
ExceptionHandler::getContent in vendor/symfony/debug/ExceptionHandler.php
Gets the HTML content associated with the given exception.

File

vendor/symfony/debug/ExceptionHandler.php, line 373

Class

ExceptionHandler
ExceptionHandler converts an exception to a Response object.

Namespace

Symfony\Component\Debug

Code

private function formatClass($class) {
  $parts = explode('\\', $class);
  return sprintf('<abbr title="%s">%s</abbr>', $class, array_pop($parts));
}