src/Form/Form/Element.php
public function addButton($name, $label, $attr = [] )
    {
        $e = new \FrenchFrogs\Form\Element\Button($name, $label, $attr);
        $this->addElement($e);
        return $e;
    }
public function addButton($name, $label, $attr = [] )
    {
        $e = new \FrenchFrogs\Form\Element\Button($name, $label, $attr);
        $this->addElement($e);
        return $e;
    }
public function addButton ( $ name , $ label , $ attr = [ ] ) { $ e = new \ FrenchFrogs \ Form \ Element \ Button ( $ name , $ label , $ attr ) ; $ this -> addElement ( $ e ) ; return $ e ; }
Add button element

@param $label
@param array $attr
@return \FrenchFrogs\Form\Element\Button
Add button element