You are here

protected function DiffFormatter::_end_diff in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Diff/DiffFormatter.php \Drupal\Component\Diff\DiffFormatter::_end_diff()
1 call to DiffFormatter::_end_diff()
DiffFormatter::format in lib/Drupal/Component/Diff/DiffFormatter.php
Format a diff.

File

lib/Drupal/Component/Diff/DiffFormatter.php, line 142
Contains \Drupal\Component\Diff\DiffFormatter.

Class

DiffFormatter
A class to format Diffs

Namespace

Drupal\Component\Diff

Code

protected function _end_diff() {
  $val = ob_get_contents();
  ob_end_clean();
  return $val;
}