Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix markdown title

  • Loading branch information...
commit be680c36bbdb256140a62563187bb7e77b955a06 1 parent e933bb1
@c9s authored
Showing with 8 additions and 4 deletions.
  1. +8 −4 README.md
View
12 README.md
@@ -1,7 +1,8 @@
# Validation
-## Validators
+Validators
+----------
- `ValidationKit\PhoneNumber\TWPhoneNumberValidator`
- `ValidationKit\TW\IDNumberValidator`
@@ -14,7 +15,8 @@
- `ValidationKit\StringLengthValidator`
- `ValidationKit\StringValidator`
-## Validator Constructor
+Validator Constructor
+---------------------
ValidationKit Validator's constructor prototype is:
@@ -147,7 +149,8 @@ $validator = new ValidationKit\PasswordValidator(array(
$bool = $validator->validate( 10.0 );
```
-# Customize your validator
+Customize your validator
+------------------------
To write your own validator, here is the basic structure of a validator class:
@@ -197,7 +200,8 @@ class YourValidator extends Validator
}
```
-# Hacking
+Hacking
+--------
Install dependencies:

0 comments on commit be680c3

Please sign in to comment.
Something went wrong with that request. Please try again.