Merge pull request #1465 from Bethrezen/patch-3

Replace request with response in code example
This commit is contained in:
Alexander Makarov
2013-12-09 04:26:46 -08:00

View File

@@ -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