public function textField(TextField $textField)
    {
        $tag = new Tag('input');
        $tag->setAttribute('type', $textField->getType());

        return $this->parseTag($tag, $textField);
    }
public function textField(TextField $textField)
    {
        $tag = new Tag('input');
        $tag->setAttribute('type', $textField->getType());

        return $this->parseTag($tag, $textField);
    }
public function textField ( TextField $ textField ) { $ tag = new Tag ( 'input' ) ; $ tag -> setAttribute ( 'type' , $ textField -> getType ( ) ) ; return $ this -> parseTag ( $ tag , $ textField ) ; }
Render a TextField

@param TextField $textField
@return string
Render a TextField