*/ abstract class AbstractRenderer { protected helper_plugin_newsfeed $helper; public function __construct(helper_plugin_newsfeed $helper) { $this->helper = $helper; } abstract public function renderContent(ModelNews $data, array $params): string; abstract public function renderEditFields(array $params): string; abstract public function render(string $innerHtml, string $formHtml, ModelNews $news): string; }