protected function getComponentFromResolvedComponentData(ResolvedComponentData $resolved)
    {
        /** @var $component ComponentInterface */
        $component = new $this->componentClass();
        $component->setModel($resolved->getModel());
        $component->setData($resolved->getData());
        $component->setIdentifier($resolved->getIdentifier());

        return $component;
    }
protected function getComponentFromResolvedComponentData(ResolvedComponentData $resolved)
    {
        /** @var $component ComponentInterface */
        $component = new $this->componentClass();
        $component->setModel($resolved->getModel());
        $component->setData($resolved->getData());
        $component->setIdentifier($resolved->getIdentifier());

        return $component;
    }
protected function getComponentFromResolvedComponentData ( ResolvedComponentData $ resolved ) { /** @var $component ComponentInterface */ $ component = new $ this -> componentClass ( ) ; $ component -> setModel ( $ resolved -> getModel ( ) ) ; $ component -> setData ( $ resolved -> getData ( ) ) ; $ component -> setIdentifier ( $ resolved -> getIdentifier ( ) ) ; return $ component ; }
Creates a new component object from the resolved data.

@param ResolvedComponentData $resolved The resolved component data

@return ComponentInterface The newly created and populated component
Creates a new component object from the resolved data .