StreamedCopyTrait
Table of Contents
- copy() : bool
- Copy a file.
- readStream() : resource
- writeStream() : resource
Methods
copy()
Copy a file.
public
copy(string $path, string $newpath) : bool
Parameters
- $path : string
- $newpath : string
Return values
bool —readStream()
public
abstract readStream(string $path) : resource
Parameters
- $path : string
Return values
resource —writeStream()
public
abstract writeStream(string $path, resource $resource, Config $config) : resource
Parameters
- $path : string
- $resource : resource
- $config : Config