PHP Интерфейс Nelmio\Alice\Parser\IncludeProcessorInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

process() публичный метод

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.
Результат array