SubPageCounter
last analyzed

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 15
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
countSubPages() 0 1 ?
1
<?php
2
3
namespace SubPageList\Counter;
4
5
use Title;
6
7
/**
8
 * Interface for subpage counters.
9
 *
10
 * @since 1.2
11
 *
12
 * @licence GNU GPL v2+
13
 * @author Jeroen De Dauw < [email protected] >
14
 */
15
interface SubPageCounter {
16
17
	/**
18
	 * Returns the number of subpages.
19
	 * This does not include the page itself.
20
	 *
21
	 * @since 1.2
22
	 *
23
	 * @param Title $title
24
	 *
25
	 * @return integer
26
	 */
27
	public function countSubPages( Title $title );
28
29
}
30