Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace MediaWiki\Block;
4
5use MediaWiki\Page\PageReference;
6
7/**
8 * Shared interface for user and single IP targets, that is, for targets with a
9 * meaningful user page link. Single IP addresses are traditionally treated as
10 * the names of anonymous users.
11 *
12 * @since 1.44
13 */
14interface BlockTargetWithUserPage extends BlockTargetWithUserIdentity {
15    /**
16     * Get the target's user page. The page has an associated talk page which
17     * can be used to talk to the target.
18     *
19     * @return PageReference
20     */
21    public function getUserPage(): PageReference;
22}