93 lines
1.8 KiB
YAML
93 lines
1.8 KiB
YAML
name: ValidationData
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Arr
|
|
type: class
|
|
source: Illuminate\Support\Arr
|
|
properties: []
|
|
methods:
|
|
- name: initializeAndGatherData
|
|
visibility: public
|
|
parameters:
|
|
- name: attribute
|
|
- name: masterData
|
|
comment: '# * Initialize and gather data for the given attribute.
|
|
|
|
# *
|
|
|
|
# * @param string $attribute
|
|
|
|
# * @param array $masterData
|
|
|
|
# * @return array'
|
|
- name: initializeAttributeOnData
|
|
visibility: protected
|
|
parameters:
|
|
- name: attribute
|
|
- name: masterData
|
|
comment: '# * Gather a copy of the attribute data filled with any missing attributes.
|
|
|
|
# *
|
|
|
|
# * @param string $attribute
|
|
|
|
# * @param array $masterData
|
|
|
|
# * @return array'
|
|
- name: extractValuesForWildcards
|
|
visibility: protected
|
|
parameters:
|
|
- name: masterData
|
|
- name: data
|
|
- name: attribute
|
|
comment: '# * Get all of the exact attribute values for a given wildcard attribute.
|
|
|
|
# *
|
|
|
|
# * @param array $masterData
|
|
|
|
# * @param array $data
|
|
|
|
# * @param string $attribute
|
|
|
|
# * @return array'
|
|
- name: extractDataFromPath
|
|
visibility: public
|
|
parameters:
|
|
- name: attribute
|
|
- name: masterData
|
|
comment: '# * Extract data based on the given dot-notated path.
|
|
|
|
# *
|
|
|
|
# * Used to extract a sub-section of the data for faster iteration.
|
|
|
|
# *
|
|
|
|
# * @param string $attribute
|
|
|
|
# * @param array $masterData
|
|
|
|
# * @return array'
|
|
- name: getLeadingExplicitAttributePath
|
|
visibility: public
|
|
parameters:
|
|
- name: attribute
|
|
comment: '# * Get the explicit part of the attribute name.
|
|
|
|
# *
|
|
|
|
# * E.g. ''foo.bar.*.baz'' -> ''foo.bar''
|
|
|
|
# *
|
|
|
|
# * Allows us to not spin through all of the flattened data for some operations.
|
|
|
|
# *
|
|
|
|
# * @param string $attribute
|
|
|
|
# * @return string'
|
|
traits:
|
|
- Illuminate\Support\Arr
|
|
interfaces: []
|