You are here

protected property Dependency::$constraint in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::constraint

The Constraint object from the constraint string.

Type: \Drupal\Component\Version\Constraint

File

core/lib/Drupal/Core/Extension/Dependency.php, line 38

Class

Dependency
A value object representing dependency information.

Namespace

Drupal\Core\Extension

Code

protected $constraint;