@@ -86,7 +86,7 @@ class Yii2 extends Client
86
86
/**
87
87
* @return \yii\web\Application
88
88
*
89
- * @deprecated since 2.5, will become protected in 3.0. Use getComponent() or directly access to \Yii::$app.
89
+ * @deprecated since 2.5, will become protected in 3.0. Directly access to \Yii::$app if you need to interact with it .
90
90
*/
91
91
public function getApplication ()
92
92
{
@@ -112,6 +112,7 @@ public function resetApplication()
112
112
113
113
/**
114
114
* Finds and logs in a user
115
+ * @internal
115
116
* @param $user
116
117
* @throws ConfigurationException
117
118
* @throws \RuntimeException
@@ -138,6 +139,7 @@ public function findAndLoginUser($user)
138
139
139
140
/**
140
141
* Masks a value
142
+ * @internal
141
143
* @param string $val
142
144
* @return string
143
145
* @see \yii\base\Security::maskToken
@@ -148,6 +150,7 @@ public function maskToken($val)
148
150
}
149
151
150
152
/**
153
+ * @internal
151
154
* @param string $name The name of the cookie
152
155
* @param string $value The value of the cookie
153
156
* @return string The value to send to the browser
@@ -162,6 +165,7 @@ public function hashCookieData($name, $value)
162
165
}
163
166
164
167
/**
168
+ * @internal
165
169
* @return array List of regex patterns for recognized domain names
166
170
*/
167
171
public function getInternalDomains ()
@@ -181,13 +185,17 @@ public function getInternalDomains()
181
185
}
182
186
183
187
/**
188
+ * @internal
184
189
* @return array List of sent emails
185
190
*/
186
191
public function getEmails ()
187
192
{
188
193
return $ this ->emails ;
189
194
}
190
195
196
+ /**
197
+ * @internal
198
+ */
191
199
public function getComponent ($ name )
192
200
{
193
201
$ app = $ this ->getApplication ();
@@ -227,6 +235,7 @@ function ($matches) use (&$parameters) {
227
235
228
236
/**
229
237
* Gets the name of the CSRF param.
238
+ * @internal
230
239
* @return string
231
240
*/
232
241
public function getCsrfParamName ()
@@ -235,6 +244,7 @@ public function getCsrfParamName()
235
244
}
236
245
237
246
/**
247
+ * @internal
238
248
* @param $params
239
249
* @return mixed
240
250
*/
@@ -439,6 +449,7 @@ public function restart()
439
449
440
450
/**
441
451
* This functions closes the session of the application, if the application exists and has a session.
452
+ * @internal
442
453
*/
443
454
public function closeSession ()
444
455
{
0 commit comments