PHP Interface Nelmio\Alice\Parser\IncludeProcessorInterface

Datei anzeigen Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
process ( Nelmio\Alice\ParserInterface $parser, string $file, array $data ) : array Process the data include/import statements. For example check the files in the include statement and parses those files and merges the result with the existing data.

Method Details

process() public method

Process the data include/import statements. For example check the files in the include statement and parses those files and merges the result with the existing data.
public process ( Nelmio\Alice\ParserInterface $parser, string $file, array $data ) : array
$parser Nelmio\Alice\ParserInterface Parsed used to parse the files to include.
$file string File from which the data comes from.
$data array Parse result of the loaded file.
return array