public static function ParserInterface::parse

8.0.x ParserInterface.php public static ParserInterface::parse($data)
7.x ParserInterface.php public static ParserInterface::parse($data)
master ParserInterface.php public static ParserInterface::parse($data)

Parse an input string into an array.

Parameters

string $data:

Return value

array Makefile data as an array.

2 methods override ParserInterface::parse()
ParserIni::parse in lib/Drush/Make/Parser/ParserIni.php
Parse an input string into an array.
ParserYaml::parse in lib/Drush/Make/Parser/ParserYaml.php
Parse an input string into an array.

File

lib/Drush/Make/Parser/ParserInterface.php, line 29
Interface for make file parsing.

Namespace

Drush\Make\Parser

Class

ParserInterface

Code

public static function parse($data);