Class

eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\Id\ParentContentType

class ParentContentType 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 matchLocation(Location $location)

Checks if a Location object matches.

bool matchContentInfo(ContentInfo $contentInfo)

Checks if a ContentInfo 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 27
public bool matchLocation(Location $location)

Checks if a Location object matches.

Parameters

Location $location

Return Value

bool

at line 45
public bool matchContentInfo(ContentInfo $contentInfo)

Checks if a ContentInfo object matches.

Parameters

ContentInfo $contentInfo

Return Value

bool

at line 56
public match(View $view)

Parameters

View $view