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\Diff

Code

protected function _lines($lines, $prefix = ' ') {
  foreach ($lines as $line) {
    echo "$prefix $line\n";
  }
}
doc_Drupal
2016-10-29 09:02:26
Comments
Leave a Comment

Please login to continue.