You are here

protected property Constraint::$constraintArray in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Version/Constraint.php \Drupal\Component\Version\Constraint::constraintArray

A list of associative arrays representing the constraint.

Each containing the keys:

  • 'op': can be one of: '=', '==', '!=', '<>', '<', '<=', '>', or '>='.
  • 'version': A complete version, e.g. '4.5-beta3'.

Type: array[]

File

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

Class

Constraint
A value object representing a Drupal version constraint.

Namespace

Drupal\Component\Version

Code

protected $constraintArray = [];