PHP Class Hirak\Prestissimo\CopyRequest

Inheritance: extends Hirak\Prestissimo\BaseRequest
显示文件 Open project: hirak/prestissimo Class Usage Examples

Protected Properties

Property Type Description
$defaultCurlOptions

Public Methods

Method Description
__construct ( string $url, string $destination, boolean $useRedirector, Composer\IO\IOInterface $io, Composer\Config $config )
__destruct ( )
getCurlOptions ( ) : array
makeSuccess ( )
setDestination ( $destination )

Private Methods

Method Description
createDir ( $fileName )

Method Details

__construct() public method

public __construct ( string $url, string $destination, boolean $useRedirector, Composer\IO\IOInterface $io, Composer\Config $config )
$url string
$destination string
$useRedirector boolean
$io Composer\IO\IOInterface
$config Composer\Config

__destruct() public method

public __destruct ( )

getCurlOptions() public method

public getCurlOptions ( ) : array
return array

makeSuccess() public method

public makeSuccess ( )

setDestination() public method

public setDestination ( $destination )

Property Details

$defaultCurlOptions protected_oe static_oe property

protected static $defaultCurlOptions