class
Illuminate
/
Support
/
ValidatedInput
You are viewing an older version of the documentation. For the latest, please visit master documentation.
ValidatedInput
Implements
Properties
protected
$input array
The underlying input.
Default: null
Methods
public
__construct ( array $input ) : void
Create a new validated input container.
Parameters
- $input array
public
only ( $keys ) : array
Get a subset containing the provided keys with values from the input data.
Parameters
- $keys array|mixed
public
except ( $keys ) : array
Get all of the input except for a specified array of items.
Parameters
- $keys array|mixed
public
merge ( array $items ) : static
Merge the validated input with the given array of additional data.
Parameters
- $items array
public
all ( ) : array
Get the raw, underlying input array.
public
toArray ( ) : array
Get the instance as an array.
public
__get ( $name ) : mixed
Dynamically access input data.
Parameters
- $name string
public
__set ( $name , $value ) : mixed
Dynamically set input data.
Parameters
- $name string
- $value mixed
public
__isset ( $name ) : bool
Determine if an input key is set.
public
__unset ( $name ) : void
Remove an input key.
Parameters
- $name string
public
offsetExists ( $key ) : bool
Determine if an item exists at an offset.
Parameters
- $key mixed
public
offsetGet ( $key ) : mixed
Get an item at a given offset.
Parameters
- $key mixed
public
offsetSet ( $key , $value ) : void
Set the item at a given offset.
Parameters
- $key mixed
- $value mixed
public
offsetUnset ( $key ) : void
Unset the item at a given offset.
Parameters
- $key string