/**
  * Constructor
  *
  * @param ContextInterface $context
  * @param UiComponentInterface[] $components
  * @param array $data
  */
 public function __construct(ContextInterface $context, array $components = [], array $data = [])
 {
     $this->context = $context;
     $this->components = $components;
     $this->initObservers($data);
     $this->context->getProcessor()->register($this);
     $this->_data = array_replace_recursive($this->_data, $data);
 }