You are here

public function Chunk::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/diff/src/Chunk.php \SebastianBergmann\Diff\Chunk::__construct()

Range

Range

Parameters

int $start:

int $end:

array $lines:

File

vendor/sebastian/diff/src/Chunk.php, line 54

Class

Chunk
@package Diff @author Sebastian Bergmann <sebastian@phpunit.de> @author Kore Nordmann <mail@kore-nordmann.de> @copyright Sebastian Bergmann <sebastian@phpunit.de> @license …

Namespace

SebastianBergmann\Diff

Code

public function __construct($start = 0, $startRange = 1, $end = 0, $endRange = 1, array $lines = array()) {
  $this->start = (int) $start;
  $this->startRange = (int) $startRange;
  $this->end = (int) $end;
  $this->endRange = (int) $endRange;
  $this->lines = $lines;
}