Copied!

AggregationVisitor

AggregationVisitor.php : 13

Methods

publiccanVisit()

AggregationVisitor.php : 20

Check if visitor is applicable to current aggreagtion.

public canVisit(Aggregation $aggregation, array<string|int, mixed> $languageFilter) : bool

Parameters

Name Type Default value Description
$aggregation Aggregation - -
$languageFilter array<string|int, mixed> - -

Return values

bool

publicvisit()

AggregationVisitor.php : 27
public visit(AggregationVisitor $dispatcherVisitor, Aggregation $aggregation, array<string|int, mixed> $languageFilter) : array<string|int, string>

Parameters

Name Type Default value Description
$dispatcherVisitor AggregationVisitor - -
$aggregation Aggregation - -
$languageFilter array<string|int, mixed> - -

Return values

array<string|int, string>