private function runComponent($namespace, $fullyQualifiedComponent)
    {
        $parameters = $this->getParametersForNameSpace($namespace);
        $parameters[self::PARAMETER_MULTI_COMPONENT] = $this;
        $component = new $fullyQualifiedComponent('', $this->request, $parameters, $this->matchedSitemapItem);
        if ($component instanceof components\Component) {
            $component->run($this->storage);
            $parameters = $component->getParameters();
            foreach ($parameters as $name => $value) {
                $this->parameters[$namespace . '_' . $name] = $value;
            }
        }
    }
private function runComponent($namespace, $fullyQualifiedComponent)
    {
        $parameters = $this->getParametersForNameSpace($namespace);
        $parameters[self::PARAMETER_MULTI_COMPONENT] = $this;
        $component = new $fullyQualifiedComponent('', $this->request, $parameters, $this->matchedSitemapItem);
        if ($component instanceof components\Component) {
            $component->run($this->storage);
            $parameters = $component->getParameters();
            foreach ($parameters as $name => $value) {
                $this->parameters[$namespace . '_' . $name] = $value;
            }
        }
    }
private function runComponent ( $ namespace , $ fullyQualifiedComponent ) { $ parameters = $ this -> getParametersForNameSpace ( $ namespace ) ; $ parameters [ self :: PARAMETER_MULTI_COMPONENT ] = $ this ; $ component = new $ fullyQualifiedComponent ( '' , $ this -> request , $ parameters , $ this -> matchedSitemapItem ) ; if ( $ component instanceof components \ Component ) { $ component -> run ( $ this -> storage ) ; $ parameters = $ component -> getParameters ( ) ; foreach ( $ parameters as $ name => $ value ) { $ this -> parameters [ $ namespace . '_' . $ name ] = $ value ; } } }
Instantiates the component and runs it

@param $namespace String
@param $fullyQualifiedComponent String
Instantiates the component and runs it