ResponseParser::getMessages()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
3
namespace Onoi\Remi;
4
5
/**
6
 * @license GNU GPL v2+
7
 * @since 0.1
8
 *
9
 * @author mwjames
10
 */
11
interface ResponseParser {
12
13
	/**
14
	 * @since 0.1
15
	 *
16
	 * @return FilteredRecord
17
	 */
18
	public function getFilteredRecord();
19
20
	/**
21
	 * @since 0.1
22
	 *
23
	 * @return array
24
	 */
25
	public function getMessages();
26
27
	/**
28
	 * @since 0.1
29
	 *
30
	 * @return boolean
31
	 */
32
	//public function isFromCache();
0 ignored issues
show
Unused Code Comprehensibility introduced by
63% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
33
	public function usesCache();
34
35
	/**
36
	 * @since 0.1
37
	 *
38
	 * @param string $id
39
	 */
40
	//public function doFilterResponseById( $id );
0 ignored issues
show
Unused Code Comprehensibility introduced by
55% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
41
	public function doFilterResponseFor( $id );
42
43
	/**
44
	 * @since 0.1
45
	 *
46
	 * @param string $id
47
	 *
48
	 * @return string
49
	 */
50
	//public function getRawResponseById( $id );
0 ignored issues
show
Unused Code Comprehensibility introduced by
55% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
51
	public function getRawResponse( $id );
52
53
}
54