rewrote validation library.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user