Gets the Constraint object.
\Drupal\Component\Version\Constraint The Constraint object.
protected function getConstraint() { if (!$this->constraint) { $this->constraint = new Constraint($this->constraintString, \Drupal::CORE_COMPATIBILITY); } return $this->constraint; }