public function input($type, $name, $value = null)
    {
        $value = $this->inputs ? $this->inputs->get($name, $value) : $value;
        $form  = (new Input($type, $name))->value($value);
        return $this->setClass($form);
    }
public function input($type, $name, $value = null)
    {
        $value = $this->inputs ? $this->inputs->get($name, $value) : $value;
        $form  = (new Input($type, $name))->value($value);
        return $this->setClass($form);
    }
public function input ( $ type , $ name , $ value = null ) { $ value = $ this -> inputs ? $ this -> inputs -> get ( $ name , $ value ) : $ value ; $ form = ( new Input ( $ type , $ name ) ) -> value ( $ value ) ; return $ this -> setClass ( $ form ) ; }
constructs Input form element object with any type.

@param string      $type
@param string      $name
@param string|null $value
@return Input
constructs Input form element object with any type .