Class

eZ\Publish\Core\MVC\Symfony\Matcher\Block\View

class View extends MultipleValued

Methods

setMatchingConfig(mixed $matchingConfig)

Registers the matching configuration for the matcher.

from MultipleValued
array getValues()

Returns matcher's values.

from MultipleValued
Repository getRepository()

from MultipleValued
bool matchBlock(Block $block)

Checks if a Block object matches.

match(View $view)

Details

in MultipleValued 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.

in MultipleValued at line 42
public array getValues()

Returns matcher's values.

Return Value

array

in MultipleValued at line 50
public Repository getRepository()

Return Value

Repository

at line 24
public bool matchBlock(Block $block)

Checks if a Block object matches.

Parameters

Block $block

Return Value

bool

at line 29
public match(View $view)

Parameters

View $view