class Illuminate / Validation / ValidationData
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

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