Priority
class Priority (View source)
Methods
public static
merge(array $mine, MutableConfigCollectionInterface $theirs)
Merges an array of values into a collection
public static
array
mergeArray(array $highPriority, array $lowPriority)
Deep merges a high priorty array into a lower priority array, overwriting duplicate keys. If the keys are integers, then the merges acts like array_merge() and adds a new item.
protected static
array
normaliseItem(array $item)
Returns a normalised array with value/metadata keys
Details
static MutableConfigCollectionInterface
merge(array $mine, MutableConfigCollectionInterface $theirs)
Merges an array of values into a collection
static array
mergeArray(array $highPriority, array $lowPriority)
Deep merges a high priorty array into a lower priority array, overwriting duplicate keys. If the keys are integers, then the merges acts like array_merge() and adds a new item.
static protected array
normaliseItem(array $item)
Returns a normalised array with value/metadata keys