22 lines
464 B
PHP
22 lines
464 B
PHP
<?php
|
|
|
|
namespace Khofmann\Input;
|
|
|
|
class Input
|
|
{
|
|
public static function post($index, $defaultValue = null)
|
|
{
|
|
return request()->getInputHandler()->post($index, $defaultValue);
|
|
}
|
|
|
|
public static function get($index, $defaultValue = null)
|
|
{
|
|
return request()->getInputHandler()->get($index, $defaultValue);
|
|
}
|
|
|
|
public static function file($index, $defaultValue = null)
|
|
{
|
|
return request()->getInputHandler()->file($index, $defaultValue);
|
|
}
|
|
}
|