forked from xdebug/xdebug
/
coverage4.inc
25 lines (24 loc) · 1.83 KB
/
coverage4.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
interface ezcFeedParser
{
/**
* Returns true if the parser can parse the provided XML document object,
* false otherwise.
*
* @param DOMDocument $xml The XML document object to check for parseability
* @return bool
*/
public static function canParse( DOMDocument $xml );
/**
* Parses the provided XML document object and returns an ezcFeed object
* from it.
*
* @throws ezcFeedParseErrorException
* If an error was encountered during parsing.
*
* @param DOMDocument $xml The XML document object to parse
* @return ezcFeed
*/
public function parse( DOMDocument $xml );
}
?>