Copied!

ContentName

ContentName.php : 14
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()

ContentName.php : 16

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

public __construct(string $value)

Parameters

Name Type Default value Description
$value string - -

publicgetSpecifications()

ContentName.php : 24

Criterion description function.

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

Return values

array<string|int, Specifications>