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

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

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

@return ComponentDataResolverInterface

@throws \Exception When no component data resolver has been set
Gets the component data resolver .