rewrote validation library.

This commit is contained in:
Taylor Otwell
2011-07-12 20:04:14 -05:00
parent bbc45f92b7
commit c3b8524e1b
22 changed files with 508 additions and 1236 deletions

View File

@@ -9,6 +9,18 @@ class Input {
*/
public static $input;
/**
* Get all of the input data for the request.
*
* This method returns a merged array containing Input::get and Input::file.
*
* @return array
*/
public static function all()
{
return array_merge(static::get(), static::file());
}
/**
* Determine if the input data contains an item.
*