PHP Class Themosis\Facades\Input

Inheritance: extends Facade
Exibir arquivo Open project: themosis/framework

Public Methods

Method Description
all ( ) : array Get all of the input and files for the request.
get ( string $key = null, mixed $default = null ) : mixed Get an item from the input data.

Protected Methods

Method Description
getFacadeAccessor ( ) : string Return the service provider key responsible for the request class.

Method Details

all() public static method

Get all of the input and files for the request.
public static all ( ) : array
return array

get() public static method

This method is used for all request verbs (GET, POST, PUT, and DELETE).
public static get ( string $key = null, mixed $default = null ) : mixed
$key string
$default mixed A default value if not found.
return mixed

getFacadeAccessor() protected static method

The key must be the same as the one used when registering the service provider.
protected static getFacadeAccessor ( ) : string
return string