public function untick()
    {
        if ('checkbox' !== $type = $this->element->getAttribute('type')) {
            throw new \LogicException(\sprintf('You cannot tick "%s" as it is not a checkbox (%s).', $this->element->getAttribute('name'), $type));
        }

        $this->setValue(false);
    }
public function untick()
    {
        if ('checkbox' !== $type = $this->element->getAttribute('type')) {
            throw new \LogicException(\sprintf('You cannot tick "%s" as it is not a checkbox (%s).', $this->element->getAttribute('name'), $type));
        }

        $this->setValue(false);
    }
public function untick ( ) { if ( 'checkbox' !== $ type = $ this -> element -> getAttribute ( 'type' ) ) { throw new \ LogicException ( \ sprintf ( 'You cannot tick "%s" as it is not a checkbox (%s).' , $ this -> element -> getAttribute ( 'name' ) , $ type ) ) ; } $ this -> setValue ( false ) ; }
Ticks a checkbox.

@throws \LogicException When the type provided is not correct
Ticks a checkbox .