Neos\Flow\Package\MetaData\SystemConstraint::__construct PHP 메소드

__construct() 공개 메소드

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;
    }