TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
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 (   $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 PackageConstraint\$constraintType, and PackageConstraint\$value.

Member Function Documentation

getConstraintType ( )
Returns
string The constraint type (depends, conflicts, suggests)

Definition at line 62 of file PackageConstraint.php.

References PackageConstraint\getConstraintType().

Referenced by PackageConstraint\getConstraintType().

getValue ( )
Returns
string The constraint name or value

Definition at line 54 of file PackageConstraint.php.

References PackageConstraint\getValue().

Referenced by PackageConstraint\getValue().

Member Data Documentation

$constraintType
protected

Definition at line 27 of file PackageConstraint.php.

Referenced by PackageConstraint\__construct().

$value
protected

Definition at line 33 of file PackageConstraint.php.

Referenced by PackageConstraint\__construct().