Failed Conditions
Branch newinternal (3df7fe)
by Simon
04:13
created

ITask::getWikiTextHelper()

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 1
1
<?php
2
/******************************************************************************
3
 * Wikipedia Account Creation Assistance tool                                 *
4
 *                                                                            *
5
 * All code in this file is released into the public domain by the ACC        *
6
 * Development Team. Please see team.json for a list of contributors.         *
7
 ******************************************************************************/
8
9
namespace Waca\Tasks;
10
11
use Waca\Helpers\HttpHelper;
12
use Waca\Helpers\Interfaces\IEmailHelper;
13
use Waca\Helpers\Interfaces\IOAuthHelper;
14
use Waca\Helpers\IrcNotificationHelper;
15
use Waca\Helpers\WikiTextHelper;
16
use Waca\PdoDatabase;
17
use Waca\Providers\Interfaces\IAntiSpoofProvider;
18
use Waca\Providers\Interfaces\ILocationProvider;
19
use Waca\Providers\Interfaces\IRDnsProvider;
20
use Waca\Providers\Interfaces\IXffTrustProvider;
21
use Waca\Providers\TorExitProvider;
22
use Waca\SiteConfiguration;
23
24
interface ITask
25
{
26
	/**
27
	 * @return IEmailHelper
28
	 */
29
	public function getEmailHelper();
30
31
	/**
32
	 * @param IEmailHelper $emailHelper
33
	 *
34
	 * @return void
35
	 */
36
	public function setEmailHelper($emailHelper);
37
38
	/**
39
	 * @return HttpHelper
40
	 */
41
	public function getHttpHelper();
42
43
	/**
44
	 * @param HttpHelper $httpHelper
45
	 *
46
	 * @return void
47
	 */
48
	public function setHttpHelper($httpHelper);
49
50
	/**
51
	 * @return WikiTextHelper
52
	 */
53
	public function getWikiTextHelper();
54
55
	/**
56
	 * @param WikiTextHelper $wikiTextHelper
57
	 *
58
	 * @return void
59
	 */
60
	public function setWikiTextHelper($wikiTextHelper);
61
62
	/**
63
	 * @return ILocationProvider
64
	 */
65
	public function getLocationProvider();
66
67
	/**
68
	 * @param ILocationProvider $locationProvider
69
	 *
70
	 * @return void
71
	 */
72
	public function setLocationProvider(ILocationProvider $locationProvider);
73
74
	/**
75
	 * @return IXffTrustProvider
76
	 */
77
	public function getXffTrustProvider();
78
79
	/**
80
	 * @param IXffTrustProvider $xffTrustProvider
81
	 *
82
	 * @return void
83
	 */
84
	public function setXffTrustProvider(IXffTrustProvider $xffTrustProvider);
85
86
	/**
87
	 * @return IRDnsProvider
88
	 */
89
	public function getRdnsProvider();
90
91
	/**
92
	 * @param IRDnsProvider $rdnsProvider
93
	 *
94
	 * @return void
95
	 */
96
	public function setRdnsProvider($rdnsProvider);
97
98
	/**
99
	 * @return IAntiSpoofProvider
100
	 */
101
	public function getAntiSpoofProvider();
102
103
	/**
104
	 * @param IAntiSpoofProvider $antiSpoofProvider
105
	 *
106
	 * @return void
107
	 */
108
	public function setAntiSpoofProvider($antiSpoofProvider);
109
110
	/**
111
	 * @return PdoDatabase
112
	 */
113
	public function getDatabase();
114
115
	/**
116
	 * @param PdoDatabase $database
117
	 *
118
	 * @return void
119
	 */
120
	public function setDatabase($database);
121
122
	/**
123
	 * @return IOAuthHelper
124
	 */
125
	public function getOAuthHelper();
126
127
	/**
128
	 * @param IOAuthHelper $oauthHelper
129
	 *
130
	 * @return void
131
	 */
132
	public function setOAuthHelper($oauthHelper);
133
134
	/**
135
	 * @return void
136
	 */
137
	public function execute();
138
139
	/**
140
	 * Sets the site configuration object for this page
141
	 *
142
	 * @param SiteConfiguration $configuration
143
	 *
144
	 * @return void
145
	 */
146
	public function setSiteConfiguration($configuration);
147
148
	/**
149
	 * @return IrcNotificationHelper
150
	 */
151
	public function getNotificationHelper();
152
153
	/**
154
	 * @param IrcNotificationHelper $notificationHelper
155
	 *
156
	 * @return void
157
	 */
158
	public function setNotificationHelper($notificationHelper);
159
160
	/**
161
	 * @return TorExitProvider
162
	 */
163
	public function getTorExitProvider();
164
165
	/**
166
	 * @param TorExitProvider $torExitProvider
167
	 */
168
	public function setTorExitProvider($torExitProvider);
0 ignored issues
show
Documentation introduced by
For interfaces and abstract methods it is generally a good practice to add a @return annotation even if it is just @return void or @return null, so that implementors know what to do in the overridden method.

For interface and abstract methods, it is impossible to infer the return type from the immediate code. In these cases, it is generally advisible to explicitly annotate these methods with a @return doc comment to communicate to implementors of these methods what they are expected to return.

Loading history...
169
}