PHP Класс PhilippBaschke\ACFProInstaller\RemoteFilesystem

Makes it possible to copy files from a modified file url
Наследование: extends Composer\Util\RemoteFilesystem
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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