Constraint::$constraint

The constraint represented as a string. For example '>=8.x-5.x'.

Type: string

File

core/lib/Drupal/Component/Version/Constraint.php, line 15

Class

Constraint
A value object representing a Drupal version constraint.

Namespace

Drupal\Component\Version

Code

protected $constraint;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.