Copied!

IsProductBased

IsProductBased.php : 15
Extends Criterion

Properties

public $operator

Criterion.php : 23

The operator used by the Criterion.

public string $operator

public $target

Criterion.php : 37

The target used by the criteria (field, metadata...).

public string $target

public $value

Criterion.php : 30

The value(s) matched by the criteria.

public array<string|int, scalar>|scalar $value

public $valueData

Criterion.php : 44

Additional value data, required by some criterions, MapLocationDistance for instance.

public Value $valueData

Methods

public__construct()

IsProductBased.php : 17

Performs operator validation based on the Criterion specifications returned by {@see getSpecifications()}.

public __construct()

publicgetSpecifications()

IsProductBased.php : 25

Criterion description function.

public getSpecifications() : array<string|int, Specifications>

Return values

array<string|int, Specifications>