public function startComponent($name, array $data = [], array $more = [])
    {
        if (ob_start()) {
            $this->componentStack[] = $name;
            $this->componentData[$this->currentComponent()] = array_merge($more, $data);
            $this->slots[$this->currentComponent()] = [];
        }
    }
public function startComponent($name, array $data = [], array $more = [])
    {
        if (ob_start()) {
            $this->componentStack[] = $name;
            $this->componentData[$this->currentComponent()] = array_merge($more, $data);
            $this->slots[$this->currentComponent()] = [];
        }
    }
public function startComponent ( $ name , array $ data = [ ] , array $ more = [ ] ) { if ( ob_start ( ) ) { $ this -> componentStack [ ] = $ name ; $ this -> componentData [ $ this -> currentComponent ( ) ] = array_merge ( $ more , $ data ) ; $ this -> slots [ $ this -> currentComponent ( ) ] = [ ] ; } }
Start a component rendering process.

@param  string $name
@param  array  $data
@param  array  $more

@return void
Start a component rendering process .