LoginLogout

This commit is contained in:
Kilian committed 2024-07-21 15:49:43 +02:00
1 parent 132e8790a3
commit 8d91e805dd
10 files changed
+293 -51

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
<?php
namespace Khofmann\Input;
class Input
{
private static function input($index = null, $defaultValue = null, ...$methods)
{
if ($index !== null) {
return request()->getInputHandler()->value($index, $defaultValue, ...$methods);
}
return request()->getInputHandler();
}
public static function post($index, $defaultValue = null)
{
return input()->post($index, $defaultValue);
}
}