*/ final readonly class NewsItemRender implements ChillEntityRenderInterface { public function renderBox($entity, array $options): string { return ''; } public function renderString($entity, array $options): string { return $entity->getTitle(); } public function supports($newsItem, array $options): bool { return $newsItem instanceof NewsItem; } }