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

@param $name
@param string $label
@param array $attr
@return \FrenchFrogs\Form\Element\Boolean
Add Boolean Element