interface ParserInterface

  1. 8.0.x lib/Drush/Make/Parser/ParserInterface.php ParserInterface
  2. 7.x lib/Drush/Make/Parser/ParserInterface.php ParserInterface
  3. master lib/Drush/Make/Parser/ParserInterface.php ParserInterface

Namespace

Drush\Make\Parser

Implemented by

Hierarchy

Expanded class hierarchy of ParserInterface

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
ParserInterface::parse public static function Parse an input string into an array.
ParserInterface::supportedFile public static function Determine if a given file is supported.

File

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

View source
interface ParserInterface {

  /**
   * Determine if a given file is supported.
   *
   * @param string $filename
   *
   * @return bool
   */
  public static function supportedFile($filename);

  /**
   * Parse an input string into an array.
   *
   * @param string $data
   *
   * @return array
   *   Makefile data as an array.
   */
  public static function parse($data);

}