Neos\Flow\Package\MetaData\SystemConstraint::__construct PHP Method

__construct() public method

Meta data system constraint constructor
public __construct ( string $constraintType, string $type, string $value = null, string $minVersion = null, string $maxVersion = null )
$constraintType string
$type string
$value string
$minVersion string
$maxVersion string
    public function __construct($constraintType, $type, $value = null, $minVersion = null, $maxVersion = null)
    {
        if ($value === '') {
            $value = null;
        }
        parent::__construct($constraintType, $value, $minVersion, $maxVersion);
        $this->type = $type;
    }