Added vendor/ directory for Composer's installed files
This commit is contained in:
32
vendor/illuminate/support/Facades/Input.php
vendored
Executable file
32
vendor/illuminate/support/Facades/Input.php
vendored
Executable file
@ -0,0 +1,32 @@
|
||||
<?php namespace Illuminate\Support\Facades;
|
||||
|
||||
/**
|
||||
* @see \Illuminate\Http\Request
|
||||
*/
|
||||
class Input extends Facade {
|
||||
|
||||
/**
|
||||
* Get an item from the input data.
|
||||
*
|
||||
* This method is used for all request verbs (GET, POST, PUT, and DELETE)
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $default
|
||||
* @return mixed
|
||||
*/
|
||||
public static function get($key = null, $default = null)
|
||||
{
|
||||
return static::$app['request']->input($key, $default);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'request';
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user