Exemple #1
0
 public function __construct($startingLine, $lineCount = null, Description $description = null)
 {
     Assert::integerish($startingLine);
     Assert::nullOrIntegerish($lineCount);
     $this->startingLine = (int) $startingLine;
     $this->lineCount = $lineCount !== null ? (int) $lineCount : null;
     $this->description = $description;
 }