PHP Class Themosis\Facades\Input

Inheritance: extends Facade
Afficher le fichier Open project: themosis/framework

Méthodes publiques

Méthode 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.

Méthodes protégées

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

Method Details

all() public static méthode

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

get() public static méthode

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.
Résultat mixed

getFacadeAccessor() protected static méthode

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