Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

proposal : validate uniques #140

Closed
mouhsinelonly opened this issue Dec 23, 2013 · 2 comments
Closed

proposal : validate uniques #140

mouhsinelonly opened this issue Dec 23, 2013 · 2 comments

Comments

@mouhsinelonly
Copy link

can you add validate uniques method,

public function validateUniques(array $rules = array(),
    array $customMessages = array()
) {
    $rules = $this->buildUniqueExclusionRules($rules);

    return $this->validate($rules, $customMessages);
}
@tortuetorche
Copy link
Contributor

👍

@igorsantos07
Copy link
Member

I have a feeling this would vanish in some time, because of proposal #84. However, I may be wrong.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants