Condition for specifying an explicit boolean value (Useful for determining if a property shall be editable i.e.).

 Methods

{@inheritdoc}

__clone() 

Create a new instance.

__construct(bool $value) 

Parameters

$value

bool

The value to use.

Retrieve the value.

getValue() : bool
SuppressWarnings (PHPMD.BooleanGetMethodName)

Returns

bool

{@inheritdoc}

match(\ContaoCommunityAlliance\DcGeneral\Data\ModelInterface $model, \ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag $input, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface $property, \ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend) 

Parameters

$model

$input

$property

$legend

 Properties

 

The boolean value to return.

$value : bool