Condition checking that the value of a property is true.
__clone()
__construct(string $propertyName, bool $strict)
string
The name of the property.
bool
Flag if the comparison shall be strict (type safe).
getPropertyName() : string
string
getStrict() : boolean
SuppressWarnings | (PHPMD.BooleanGetMethodName) |
---|
boolean
match(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface $property, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend)
setPropertyName(string $propertyName) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyTrueCondition
string
The property name.
setStrict(boolean $strict) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyTrueCondition
boolean
The flag.
$propertyName : string
$strict : bool