Class

eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\MultipleValued

abstract class MultipleValued extends RepositoryAware implements MatcherInterface

Abstract class for basic matchers, accepting multiple values to match against.

Methods

setRepository(Repository $repository)

from RepositoryAware
setMatchingConfig(mixed $matchingConfig)

Registers the matching configuration for the matcher.

array getValues()

Returns matcher's values.

Repository getRepository()

Details

in RepositoryAware at line 23
public setRepository(Repository $repository)

Parameters

Repository $repository

at line 31
public setMatchingConfig(mixed $matchingConfig)

Registers the matching configuration for the matcher.

$matchingConfig can have single (string|int...) or multiple values (array).

Parameters

mixed $matchingConfig

Exceptions

InvalidArgumentException Should be thrown if $matchingConfig is not valid.

at line 42
public array getValues()

Returns matcher's values.

Return Value

array

at line 50
public Repository getRepository()

Return Value

Repository