public function validateMaxCheckboxesChecked($count)
    {
        $this->validator_attributes[] = 'data-parsley-maxcheck="' . (int)$count . '"';

        $this->validator_checks['max_checkboxes_checked'] = (int)$count;

        return $this;
    }
public function validateMaxCheckboxesChecked($count)
    {
        $this->validator_attributes[] = 'data-parsley-maxcheck="' . (int)$count . '"';

        $this->validator_checks['max_checkboxes_checked'] = (int)$count;

        return $this;
    }
public function validateMaxCheckboxesChecked ( $ count ) { $ this -> validator_attributes [ ] = 'data-parsley-maxcheck="' . ( int ) $ count . '"' ; $ this -> validator_checks [ 'max_checkboxes_checked' ] = ( int ) $ count ; return $ this ; }
Validates that a certain maximum number of checkboxes in a group are checked.

@param int $count

@return $this
Validates that a certain maximum number of checkboxes in a group are checked .