Skip to content

Commit

Permalink
Allow parsers to report if they support a specific concrete5 version
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Oct 3, 2016
1 parent 1748828 commit 5a33047
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ final public function getParserHandle()
return static::handlifyString(end($chunks));
}

/**
* Can this parser parse files of a specific concrete5 version?
*
* @param string $version
*
* @return bool
*/
public function canParseConcreteVersion($version)
{
return true;
}

/**
* Does this parser can parse directories?
*
Expand Down

0 comments on commit 5a33047

Please sign in to comment.