Trait AssociationsNormalizerTrait
Contains methods for parsing the associated tables array that is typically passed to a save operation
Method Summary
-
_normalizeAssociations() protected
Returns an array out of the original passed associations list where dot notation is transformed into nested arrays so that they can be parsed by other routines
Method Detail
_normalizeAssociations() protected ¶
_normalizeAssociations( array $associations )
Returns an array out of the original passed associations list where dot notation is transformed into nested arrays so that they can be parsed by other routines
Parameters
- array $associations
- The array of included associations.
Returns
array
An array having dot notation transformed into nested arrays
An array having dot notation transformed into nested arrays