Most User endpoints
This commit is contained in:
@@ -4,6 +4,11 @@ namespace Khofmann\Input;
|
||||
|
||||
class Input
|
||||
{
|
||||
public static function header($name, $defaultValue = null, $tryParse = true)
|
||||
{
|
||||
return request()->getHeader($name, $defaultValue, $tryParse);
|
||||
}
|
||||
|
||||
public static function post($index, $defaultValue = null)
|
||||
{
|
||||
return request()->getInputHandler()->post($index, $defaultValue);
|
||||
|
||||
Reference in New Issue
Block a user