Commit 8ce2f170 by Alexander Makarov

Merge pull request #1465 from Bethrezen/patch-3

Replace request with response in code example
parents 5a046230 41d24ee9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment