public function render(): string {
		$out = $this->before();
		foreach ( $this->_widgets as $widget ) {
			$out .= $widget->render();
		}
		$out .= $this->after();

		$this->content = $out;

		return $this->template ? render( $this->template, $this->getAttributes() ) : $out;
	}
public function render(): string {
		$out = $this->before();
		foreach ( $this->_widgets as $widget ) {
			$out .= $widget->render();
		}
		$out .= $this->after();

		$this->content = $out;

		return $this->template ? render( $this->template, $this->getAttributes() ) : $out;
	}
public function render ( ) : string { $ out = $ this -> before ( ) ; foreach ( $ this -> _widgets as $ widget ) { $ out .= $ widget -> render ( ) ; } $ out .= $ this -> after ( ) ; $ this -> content = $ out ; return $ this -> template ? render ( $ this -> template , $ this -> getAttributes ( ) ) : $ out ; }
Render all widgets
Render all widgets