Skip to content

Commit

Permalink
Merge pull request #11 from VladimirBerdnik/master
Browse files Browse the repository at this point in the history
Add description for nested rules calls
  • Loading branch information
populov committed Feb 13, 2018
2 parents 8d0b037 + d14fc93 commit b8cd635
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes History

1.0.13
------
Added missed modelExists() description for intellisence this method in nested rules calls

1.0.12
------
Added modelExists() to check that identifier exists among passed model class instances
Expand Down
1 change: 1 addition & 0 deletions src/GenericRuleSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* @method ImageRuleSet dimensions(array $constraints) Get a dimensions constraint builder instance.
* @method GenericRuleSet exists(string $table, string $column, \Closure $closure = null) Get a exists constraint builder instance.
* @method GenericRuleSet unique(string $table, string $column, \Closure $closure = null) Get a unique constraint builder instance.
* @method GenericRuleSet modelExists(string $modelClass, \Closure $closure = null) Get a exists constraint builder instance by model class.
*
* @method StringRuleSet activeUrl() The field under validation must have a valid A or AAAA record according to the dns_get_record PHP function.
* @method StringRuleSet alpha() The field under validation must be entirely alphabetic characters.
Expand Down

0 comments on commit b8cd635

Please sign in to comment.