summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/src/SPARQLStore/HttpResponseParser.php
blob: 7e94f7379368fe7cc0c75178944c0826b484799f (plain)
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

namespace SMW\SPARQLStore;

/**
 * Provides an interface for which responses from a http client (repositor
 * connection) are parsed into a unified format
 *
 * @license GNU GPL v2+
 * @since 2.2
 *
 * @author mwjames
 */
interface HttpResponseParser {

	/**
	 * @since 2.2
	 *
	 * @param string $response
	 *
	 * @return RepositoryResult
	 */
	public function parse( $response );

}