PHP 클래스 PhilippBaschke\ACFProInstaller\RemoteFilesystem

Makes it possible to copy files from a modified file url
상속: extends Composer\Util\RemoteFilesystem
파일 보기 프로젝트 열기: philippbaschke/acf-pro-installer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$acfFileUrl string The file url that should be used instead of the given file url in copy

공개 메소드들

메소드 설명
__construct ( string $acfFileUrl, Composer\IO\IOInterface $io, Composer\Config $config = null, array $options = [], boolean $disableTls = false ) Constructor
copy ( string $originUrl, string $fileUrl, string $fileName, boolean $progress = true, array $options = [] ) : boolean Copy the remote file in local

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( string $acfFileUrl, Composer\IO\IOInterface $io, Composer\Config $config = null, array $options = [], boolean $disableTls = false )
$acfFileUrl string The url that should be used instead of fileurl
$io Composer\IO\IOInterface The IO instance
$config Composer\Config The config
$options array The options
$disableTls boolean

copy() 공개 메소드

Use $acfFileUrl instead of the provided $fileUrl
public copy ( string $originUrl, string $fileUrl, string $fileName, boolean $progress = true, array $options = [] ) : boolean
$originUrl string The origin URL
$fileUrl string The file URL (ignored)
$fileName string the local filename
$progress boolean Display the progression
$options array Additional context options
리턴 boolean true

프로퍼티 상세

$acfFileUrl 보호되어 있는 프로퍼티

The file url that should be used instead of the given file url in copy
protected string $acfFileUrl
리턴 string