public function toComponent(string $componentId)
    {
        if ($this->hidden) {
            throw InvalidOperationException::format('Invalid call to %s: cannot hide an existing column', __METHOD__);
        }

        call_user_func($this->componentIdCallback, $componentId);
    }
public function toComponent(string $componentId)
    {
        if ($this->hidden) {
            throw InvalidOperationException::format('Invalid call to %s: cannot hide an existing column', __METHOD__);
        }

        call_user_func($this->componentIdCallback, $componentId);
    }
public function toComponent ( string $ componentId ) { if ( $ this -> hidden ) { throw InvalidOperationException :: format ( 'Invalid call to %s: cannot hide an existing column' , __METHOD__ ) ; } call_user_func ( $ this -> componentIdCallback , $ componentId ) ; }
Maps to the component id.

@param string $componentId

@return void
@throws InvalidOperationException
Maps to the component id .