PHP Class Nelmio\Alice\Parser\IncludeProcessor\IncludeDataMerger

Inheritance: use trait Nelmio\Alice\IsAServiceTrait
Show file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
mergeInclude ( array $data, array $includeData ) : array Merges a parsed file data with another. If some data overlaps, the existent data is kept, i.e. the included data is discarded.

Method Details

mergeInclude() public method

Merges a parsed file data with another. If some data overlaps, the existent data is kept, i.e. the included data is discarded.
public mergeInclude ( array $data, array $includeData ) : array
$data array Parsed file data
$includeData array Parsed file data to merge
return array