mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-23 04:00:23 +08:00
Replace request with response in code example
This commit is contained in:
@ -542,7 +542,7 @@ class Response extends \yii\base\Response
|
||||
* **Example**
|
||||
*
|
||||
* ~~~
|
||||
* Yii::$app->request->xSendFile('/home/user/Pictures/picture1.jpg');
|
||||
* Yii::$app->response->xSendFile('/home/user/Pictures/picture1.jpg');
|
||||
* ~~~
|
||||
*
|
||||
* @param string $filePath file name with full path
|
||||
|
Reference in New Issue
Block a user