ILIAS  trunk Revision v12.0_alpha-399-g579a087ced2
NewsAggregationStrategy.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
30{
34 public function aggregate(NewsContext $base_context): array;
35
40 public function shouldSkip(NewsContext $context): bool;
41
46 public function isRecursive(): bool;
47}
News Context DTO represents a context where news items can be associated with.
Definition: NewsContext.php:29
News Aggregation Strategy Interface defines the contract for news aggregation strategies.
shouldSkip(NewsContext $context)
Returns true if the provided context should not be aggregated.
isRecursive()
Returns true if the strategy already resolves contexts recursively (which is more performant in some ...
$context
Definition: webdav.php:31