PHP Class Neos\Flow\Package\MetaData\AbstractConstraint

Mostrar archivo Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$constraintType string One of depends, conflicts or suggests
$value string The constraint name or value

Public Methods

Method 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 method

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 method

abstract public getConstraintScope ( ) : string
return string The constraint scope (package, system)

getConstraintType() public method

public getConstraintType ( ) : string
return string The constraint type (depends, conflicts, suggests)

getValue() public method

public getValue ( ) : string
return string The constraint name or value

Property Details

$constraintType protected_oe property

One of depends, conflicts or suggests
protected string $constraintType
return string

$value protected_oe property

The constraint name or value
protected string $value
return string