class
Illuminate
/
Validation
/
ValidationData
You are viewing an older version of the documentation. For the latest, please visit master documentation.
ValidationData
Methods
public
static
initializeAndGatherData ( $attribute , $masterData ) : array
Initialize and gather data for the given attribute.
Parameters
- $attribute string
- $masterData array
protected
static
initializeAttributeOnData ( $attribute , $masterData ) : array
Gather a copy of the attribute data filled with any missing attributes.
Parameters
- $attribute string
- $masterData array
protected
static
extractValuesForWildcards ( $masterData , $data , $attribute ) : array
Get all of the exact attribute values for a given wildcard attribute.
Parameters
- $masterData array
- $data array
- $attribute string
public
static
extractDataFromPath ( $attribute , $masterData ) : array
Extract data based on the given dot-notated path.
Parameters
- $attribute string
- $masterData array
public
static
getLeadingExplicitAttributePath ( $attribute ) : string
Get the explicit part of the attribute name.
Parameters
- $attribute string