PHP 클래스 Devise\Media\Files\FileDownloader

파일 보기 프로젝트 열기: devisephp/cms 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Create a new FileDownloader
download ( string $url, string $toPath, string $filename ) : string Download a file from the given $url and save it to $toPath with $filename. If $filename is null then we just use the name from the $url

메소드 상세

__construct() 공개 메소드

Create a new FileDownloader
public __construct ( )

download() 공개 메소드

Download a file from the given $url and save it to $toPath with $filename. If $filename is null then we just use the name from the $url
public download ( string $url, string $toPath, string $filename ) : string
$url string
$toPath string
$filename string
리턴 string