protected function renderChildElement(Descriptor $descriptor, $linkTitle) {
		$element = $this->renderElement($descriptor);
		$link    = $this->getTagsLocator()->get('link');

		if (is_string($linkTitle)) {
			return $element . $link->render($linkTitle);
		}

		return $element . $link->render();
	}
protected function renderChildElement(Descriptor $descriptor, $linkTitle) {
		$element = $this->renderElement($descriptor);
		$link    = $this->getTagsLocator()->get('link');

		if (is_string($linkTitle)) {
			return $element . $link->render($linkTitle);
		}

		return $element . $link->render();
	}
protected function renderChildElement ( Descriptor $ descriptor , $ linkTitle ) { $ element = $ this -> renderElement ( $ descriptor ) ; $ link = $ this -> getTagsLocator ( ) -> get ( 'link' ) ; if ( is_string ( $ linkTitle ) ) { return $ element . $ link -> render ( $ linkTitle ) ; } return $ element . $ link -> render ( ) ; }
Render the element as a child

@param  Descriptor   $descriptor
@param  string | int $linkTitle
@return string
Render the element as a child