Provides features for merging object properties recursively with parent classes.
_mergeProperty( string $property , array $parentClasses , array $options )
Merge a single property with the values declared in all parent classes.
$property
$parentClasses
$options
_mergePropertyData( array $current , array $parent , boolean $isAssoc )
Merge each of the keys in a property together.
$current
$parent
$isAssoc
_mergeVars( array $properties , array $options [] )
Merge the list of $properties with all parent classes of the current class.
associative
- A list of properties that should be treated as associative arrays. Properties in this list will be passed through Hash::normalize() before merging.$properties
$options
optional []
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.4/class-Cake.Utility.MergeVariablesTrait.html