protected function addComponent(IComponent $component, $name, $insertBefore = NULL)
	{
		if ($this->childControl) {
			throw new LogicException('child control for this cell has already been set, you cannot add another one');
		}

		/** @noinspection PhpInternalEntityUsedInspection */
		$this->row->addComponent($component, $name, $insertBefore);
		$this->childControl = $component;
	}
protected function addComponent(IComponent $component, $name, $insertBefore = NULL)
	{
		if ($this->childControl) {
			throw new LogicException('child control for this cell has already been set, you cannot add another one');
		}

		/** @noinspection PhpInternalEntityUsedInspection */
		$this->row->addComponent($component, $name, $insertBefore);
		$this->childControl = $component;
	}
protected function addComponent ( IComponent $ component , $ name , $ insertBefore = NULL ) { if ( $ this -> childControl ) { throw new LogicException ( 'child control for this cell has already been set, you cannot add another one' ) ; } /** @noinspection PhpInternalEntityUsedInspection */ $ this -> row -> addComponent ( $ component , $ name , $ insertBefore ) ; $ this -> childControl = $ component ; }
Delegate to underlying component.
@param IComponent $component
@param            $name
@param null       $insertBefore
Delegate to underlying component .