public function Diff::getEdits
public Diff::getEdits()
Gets the list of differences as an array of diff operations.
Return value
\Drupal\Component\Diff\Engine\DiffOp[] The list of differences as an array of diff operations.
File
- core/lib/Drupal/Component/Diff/Diff.php, line 168
Class
- Diff
- Class representing a 'diff' between two sequences of strings. @todo document @subpackage DifferenceEngine
Namespace
Drupal\Component\DiffCode
public function getEdits() { return $this->edits; }
© 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!Diff.php/function/Diff::getEdits/8.1.x