src/Framework/Form/Element/Input/Checkbox.php
public function setValue($value)
    {
        if ($value == $this->getAttribute('value')) {
            $this->check();
        } else {
            $this->uncheck();
        }
        return $this;
    }
public function setValue($value)
    {
        if ($value == $this->getAttribute('value')) {
            $this->check();
        } else {
            $this->uncheck();
        }
        return $this;
    }
public function setValue ( $ value ) { if ( $ value == $ this -> getAttribute ( 'value' ) ) { $ this -> check ( ) ; } else { $ this -> uncheck ( ) ; } return $ this ; }
Set the value of the form input element object

@param  mixed $value
@return Checkbox
Set the value of the form input element object