Commit 41d24ee9 by Alexander Kozhevnikov

Replace request with response in code example

parent 5a046230
...@@ -542,7 +542,7 @@ class Response extends \yii\base\Response ...@@ -542,7 +542,7 @@ class Response extends \yii\base\Response
* **Example** * **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 * @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