public createDownload ( array | MongoDB\BSON\ObjectID $document ) : |
||
$document | array | MongoDB\BSON\ObjectID | file document ot be downloaded. |
리턴 | file download instance. |
public function createDownload($document)
{
$config = ['collection' => $this, 'document' => $document];
return new Download($config);
}