/** * Constructor * * @param ContextInterface $context * @param DataProviderInterface $dataProvider * @param array $components * @param array $data */ public function __construct(ContextInterface $context, DataProviderInterface $dataProvider, array $components = [], array $data = []) { $this->dataProvider = $dataProvider; $context->setDataProvider($dataProvider); parent::__construct($context, $components, $data); }