createDownload() public method (available since version 2.1)
Creates download command.
public yii\mongodb\file\Download createDownload ( $document ) | ||
---|---|---|
$document | array|\MongoDB\BSON\ObjectID |
File document ot be downloaded. |
return | yii\mongodb\file\Download |
File download instance. |
Please login to continue.