cesargb / laravel-magiclink

Create link for authenticate in Laravel without password or get private content
MIT License
383 stars 44 forks source link

Custom disk in DownloadFileAction #33

Closed cesargb closed 4 years ago

cesargb commented 4 years ago

Add method disk to defined a disk to download.

Example:

$action = new DownloadFileAction('text_alternative.txt');
$action->disk('ftp');

$magiclink = MagicLink::create($action);