Method | Description | |
---|---|---|
__get ( string $key ) : mixed | Get an input element from the request. | |
__isset ( string $key ) : boolean | Check if an input element is set on the request. | |
all ( ) : array | Get all of the input and files for the request. |
Method | Description | |
---|---|---|
castBooleans ( mixed $input ) : array | Cast all string booleans to real boolean values. | |
castToBooleanIsDisabled ( ) : boolean | Checks if the user wants to cast to booleans. | |
castValueToBoolean ( mixed $value ) : mixed | Cast a given value to a boolean if it is in fact a boolean. | |
convertArrayToSnakeCase ( array $input ) : array | Convert all keys of an array to snake case. | |
convertToSnakeCase ( mixed $input ) : mixed | Convert a string or array to snake case. | |
convertToSnakeCaseIsDisabled ( ) : boolean | Checks if the user wants to convert to snake case. | |
getConvertedParameters ( ) : array | Cast and convert parameters. | |
getInputSource ( ) : Symfony\Component\HttpFoundation\ParameterBag | Get the input source for the request. | |
getValidatorInstance ( ) : Illuminate\Contracts\Validation\Validator | Get the validator instance for the request. |
protected castBooleans ( mixed $input ) : array | ||
$input | mixed | |
return | array |
protected castToBooleanIsDisabled ( ) : boolean | ||
return | boolean |
protected castValueToBoolean ( mixed $value ) : mixed | ||
$value | mixed | |
return | mixed |
protected convertArrayToSnakeCase ( array $input ) : array | ||
$input | array | |
return | array |
protected convertToSnakeCase ( mixed $input ) : mixed | ||
$input | mixed | |
return | mixed |
protected convertToSnakeCaseIsDisabled ( ) : boolean | ||
return | boolean |
protected getConvertedParameters ( ) : array | ||
return | array |
abstract protected getInputSource ( ) : Symfony\Component\HttpFoundation\ParameterBag | ||
return | Symfony\Component\HttpFoundation\ParameterBag |
protected getValidatorInstance ( ) : Illuminate\Contracts\Validation\Validator | ||
return | Illuminate\Contracts\Validation\Validator |