-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Adds new documentation for Alnum validator #23
Conversation
froschdesign
commented
Mar 16, 2020
Q | A |
---|---|
Documentation | yes |
Bugfix | yes |
```php fct_label="Constructor Usage" | ||
$validator = new Laminas\I18nn\Validator\Alnum(['allowWhiteSpace' => true]); | ||
|
||
if ($validator->isValid('Abcd and 12')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe better example, like: 5 apples
, 12th chapter
etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now, I would wait for new tutorials and then we can update the content.
I hope that we can achieve consistency and reuse of the same example across the documentation.
c9ed81d
to
ce840c1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@froschdesign Rebased. LGTM 👍
Thanks, @froschdesign! |