Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isCountable validator metadata #93

Open
wants to merge 2 commits into
base: 2.2.x
Choose a base branch
from

Conversation

XCame
Copy link

@XCame XCame commented Jul 12, 2023

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Description

The IsCountable validator has 3 options, that should be configurable via admin-tools as well.

The validator has five specific behaviors:

  • You can determine if a value is countable only
  • You can test if the value is an exact count
  • You can test if the value is greater than a minimum count value
  • You can test if the value is greater than a maximum count value
  • You can test if the value is between the minimum and maximum count values

source

The IsCountable validator has 3 options, that should be configurable via admin-tools as well.

The validator has five specific behaviors:

- You can determine if a value is countable only
- You can test if the value is an exact count
- You can test if the value is greater than a minimum count value
- You can test if the value is greater than a maximum count value
- You can test if the value is between the minimum and maximum count values

source: https://github.com/laminas/laminas-validator/blob/2.36.x/src/IsCountable.php

Signed-off-by: Fabian Kreuzkam <[email protected]>
Signed-off-by: Fabian Kreuzkam <[email protected]>
@XCame XCame changed the title Is countable validator metadata isCountable validator metadata Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant