Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge pull request #243 from froschdesign/hotfix/docs/installation-re…
Browse files Browse the repository at this point in the history
…quirements

Adds notice for installation requirements in documentation
  • Loading branch information
weierophinney committed Dec 13, 2018
2 parents a10270a + 7efbc47 commit 4ffbf85
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/book/validators/db.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
a means to test whether a record exists in a given table of a database, with a
given value.

> ### Installation requirements
>
> `Zend\Validator\Db\NoRecordExists` and `Zend\Validator\Db\RecordExists`
> depends on the zend-db component, so be sure to have it installed before
> getting started:
>
> ```bash
> $ composer require zendframework/zend-db`
> ```
## Supported options
The following options are supported for `Zend\Validator\Db\NoRecordExists` and
Expand Down
9 changes: 9 additions & 0 deletions doc/book/validators/digits.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

`Zend\Validator\Digits` validates if a given value contains only digits.

> ### Installation requirements
>
> `Zend\Validator\Digits` depends on the zend-filter component, so be sure to
> have it installed before getting started:
>
> ```bash
> $ composer require zendframework/zend-filter`
> ```
## Supported options
There are no additional options for `Zend\Validator\Digits`:
Expand Down
9 changes: 9 additions & 0 deletions doc/book/validators/sitemap.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ $validator->isValid('yesterday'); // false
[Zend\\Uri\\Uri::isValid()](https://zendframework.github.io/zend-uri/usage/#validating-the-uri)
internally.

> ### Installation requirements
>
> `Zend\Validator\Sitemap\Loc` depends on the zend-uri component, so be sure to
> have it installed before getting started:
>
> ```bash
> $ composer require zendframework/zend-uri`
> ```
## Priority
`Zend\Validator\Sitemap\Priority` validates whether a value is valid for using
Expand Down

0 comments on commit 4ffbf85

Please sign in to comment.