PHP Class Neos\Flow\Package\MetaData\AbstractConstraint

Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$constraintType string One of depends, conflicts or suggests
$value string The constraint name or value

Méthodes publiques

Méthode Description
__construct ( string $constraintType, string $value, string $minVersion = null, string $maxVersion = null ) Meta data constraint constructor
getConstraintScope ( ) : string
getConstraintType ( ) : string
getValue ( ) : string

Method Details

__construct() public méthode

Meta data constraint constructor
public __construct ( string $constraintType, string $value, string $minVersion = null, string $maxVersion = null )
$constraintType string
$value string
$minVersion string
$maxVersion string

getConstraintScope() abstract public méthode

abstract public getConstraintScope ( ) : string
Résultat string The constraint scope (package, system)

getConstraintType() public méthode

public getConstraintType ( ) : string
Résultat string The constraint type (depends, conflicts, suggests)

getValue() public méthode

public getValue ( ) : string
Résultat string The constraint name or value

Property Details

$constraintType protected_oe property

One of depends, conflicts or suggests
protected string $constraintType
Résultat string

$value protected_oe property

The constraint name or value
protected string $value
Résultat string