TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Package\MetaData\PackageConstraint Class Reference

Public Member Functions

 __construct ($constraintType, $value, $minVersion=null, $maxVersion=null)
 
 getValue ()
 
 getConstraintType ()
 

Protected Attributes

 $constraintType
 
 $value
 

Detailed Description

Package constraint meta model Adapted from FLOW for TYPO3 CMS

Definition at line 21 of file PackageConstraint.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Package\MetaData\PackageConstraint::__construct (   $constraintType,
  $value,
  $minVersion = null,
  $maxVersion = null 
)

Meta data constraint constructor

Parameters
string$constraintType
string$value
string$minVersion
string$maxVersion

Definition at line 43 of file PackageConstraint.php.

References TYPO3\CMS\Core\Package\MetaData\PackageConstraint\$constraintType, and TYPO3\CMS\Core\Package\MetaData\PackageConstraint\$value.

Member Function Documentation

◆ getConstraintType()

TYPO3\CMS\Core\Package\MetaData\PackageConstraint::getConstraintType ( )
Returns
string The constraint type (depends, conflicts, suggests)

Definition at line 62 of file PackageConstraint.php.

References TYPO3\CMS\Core\Package\MetaData\PackageConstraint\$constraintType.

◆ getValue()

TYPO3\CMS\Core\Package\MetaData\PackageConstraint::getValue ( )
Returns
string The constraint name or value

Definition at line 54 of file PackageConstraint.php.

References TYPO3\CMS\Core\Package\MetaData\PackageConstraint\$value.

Member Data Documentation

◆ $constraintType

TYPO3\CMS\Core\Package\MetaData\PackageConstraint::$constraintType
protected

◆ $value

TYPO3\CMS\Core\Package\MetaData\PackageConstraint::$value
protected