_templates = $templates; $this->_view = $view; } public function getView(): View { return $this->_view; } /** * @inheritDoc */ public function render(array $data, ContextInterface $context): string { return ''; } /** * @inheritDoc */ public function secureFields(array $data): array { if (!isset($data['name']) || $data['name'] === '') { return []; } return [$data['name']]; } }