Property | Type | Description | |
---|---|---|---|
$output | Symfony\Component\Console\Output\OutputInterface | ||
$path | string | Path to download the file | |
$progressBar | |||
$url | string | Url to download |
Method | Description | |
---|---|---|
download ( ) : string | Download the file to the specified path | |
setOutput ( Symfony\Component\Console\Output\OutputInterface $output ) | Set the output |
Method | Description | |
---|---|---|
showDownloadProgress ( $notificationCode, $severity, $message, $messageCode, $bytesTransferred, $bytesMax ) : void | ProgressBar callback |
public setOutput ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected showDownloadProgress ( $notificationCode, $severity, $message, $messageCode, $bytesTransferred, $bytesMax ) : void | ||
$notificationCode | ||
$severity | ||
$message | ||
$messageCode | ||
$bytesTransferred | ||
$bytesMax | ||
return | void |
protected OutputInterface,Symfony\Component\Console\Output $output | ||
return | Symfony\Component\Console\Output\OutputInterface |
protected ProgressBar,Symfony\Component\Console\Helper $progressBar | ||
return |