public function build(InputSettings $settings)
    {
        $this->settings = $settings;

        $this->setElement();
        $this->setValidator();
        $this->setLabel();
        $this->setDefault();
        $this->setAttributes();
        $this->setData();
        $this->setAdditionalOptions();

        return $this->getElement();
    }
public function build(InputSettings $settings)
    {
        $this->settings = $settings;

        $this->setElement();
        $this->setValidator();
        $this->setLabel();
        $this->setDefault();
        $this->setAttributes();
        $this->setData();
        $this->setAdditionalOptions();

        return $this->getElement();
    }
public function build ( InputSettings $ settings ) { $ this -> settings = $ settings ; $ this -> setElement ( ) ; $ this -> setValidator ( ) ; $ this -> setLabel ( ) ; $ this -> setDefault ( ) ; $ this -> setAttributes ( ) ; $ this -> setData ( ) ; $ this -> setAdditionalOptions ( ) ; return $ this -> getElement ( ) ; }
Method for building form element
@param InputSettings $settings
@return mixed
Method for building form element