PHP Class Nelmio\Alice\Parser\IncludeProcessor\IncludeDataMerger

Inheritance: use trait Nelmio\Alice\IsAServiceTrait
Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat array