Метод | Описание | |
---|---|---|
__construct ( |
||
downloadFile ( string $url, boolean $progress = true ) | Download a file from the URL to the destination. | |
getName ( ) | ||
setOutput ( Symfony\Component\Console\Output\OutputInterface $output ) |
Метод | Описание | |
---|---|---|
getGuzzleClient ( ) : |
Returns the Guzzle client configured according to the system environment (e.g. it takes into account whether it should use a proxy server or not). |
Метод | Описание | |
---|---|---|
formatSize ( integer $bytes ) : string | Utility method to show the number of bytes in a readable format. |
public __construct ( |
||
$filesystemHelper |
public downloadFile ( string $url, boolean $progress = true ) | ||
$url | string | Fully qualified URL to the file. |
$progress | boolean | Show the progressbar when downloading. |
protected getGuzzleClient ( ) : |
||
Результат |
public setOutput ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |