/** * @param TextBox $textBox */ public function RenderTextBox($textBox) { $this->result = $textBox->GetCaption(); }