Condition checking that the value of a property is the same as a passed value.
__clone()
__construct(string $propertyName, mixed $propertyValue, bool $strict)
string
The name of the property.
mixed
The value of the property to match.
bool
Flag if the comparison shall be strict (type safe).
getPropertyName() : string
string
getPropertyValue() : mixed
mixed
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\PropertyValueCondition
string
The property name.
setPropertyValue(mixed $propertyValue) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyValueCondition
mixed
The value.
setStrict(boolean $strict) : \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\Condition\Property\PropertyValueCondition
boolean
The flag.
$propertyName : string
$propertyValue : mixed
$strict : bool