protected function DiffFormatter::_lines
protected DiffFormatter::_lines($lines, $prefix = ' ')
File
- core/lib/Drupal/Component/Diff/DiffFormatter.php, line 163
Class
- DiffFormatter
- A class to format Diffs
Namespace
Drupal\Component\DiffCode
protected function _lines($lines, $prefix = ' ') { foreach ($lines as $line) { echo "$prefix $line\n"; } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Diff!DiffFormatter.php/function/DiffFormatter::_lines/8.1.x