Merge pull request #2389 from anlutro-pull-requests/validator-require-without-all

Added required_without_all
This commit is contained in:
Taylor Otwell 2014-01-31 09:42:03 -08:00
commit 46c7f075ab
1 changed files with 36 additions and 35 deletions

View File

@ -59,6 +59,7 @@
"required_if" => "The :attribute field is required when :other is :value.", "required_if" => "The :attribute field is required when :other is :value.",
"required_with" => "The :attribute field is required when :values is present.", "required_with" => "The :attribute field is required when :values is present.",
"required_without" => "The :attribute field is required when :values is not present.", "required_without" => "The :attribute field is required when :values is not present.",
"required_without_all" => "The :attribute field is required when none of :values are present.",
"same" => "The :attribute and :other must match.", "same" => "The :attribute and :other must match.",
"size" => array( "size" => array(
"numeric" => "The :attribute must be :size.", "numeric" => "The :attribute must be :size.",