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

@param $name
@param string $label
@param array $attr
@return \FrenchFrogs\Form\Element\Checkbox
Add input checkbox element