public function __construct(Constraint $start, Constraint $end) { $this->start = $start; $this->end = $end; }