public function getComponentDataResolver()
    {
        if (empty($this->componentDataResolver) || !$this->componentDataResolver instanceof ComponentDataResolverInterface ) {
            throw new \Exception('Component data resolver not set');
        }

        return $this->componentDataResolver;
    }