public function Diff::__construct in Zircon Profile 8
Same name in this branch
- 8 vendor/sebastian/diff/src/Diff.php \SebastianBergmann\Diff\Diff::__construct()
 - 8 core/lib/Drupal/Component/Diff/Diff.php \Drupal\Component\Diff\Diff::__construct()
 
Same name and namespace in other branches
- 8.0 vendor/sebastian/diff/src/Diff.php \SebastianBergmann\Diff\Diff::__construct()
 
Parameters
string $from:
string $to:
Chunk[] $chunks:
File
- vendor/
sebastian/ diff/ src/ Diff.php, line 43  
Class
- Diff
 - @package Diff @author Sebastian Bergmann <sebastian@phpunit.de> @author Kore Nordmann <mail@kore-nordmann.de> @copyright Sebastian Bergmann <sebastian@phpunit.de> @license …
 
Namespace
SebastianBergmann\DiffCode
public function __construct($from, $to, array $chunks = array()) {
  $this->from = $from;
  $this->to = $to;
  $this->chunks = $chunks;
}