StreamedCopyTrait
Table of Contents
Methods
- 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
boolreadStream()
public
abstract readStream(string $path) : resource
Parameters
- $path : string
Return values
resourcewriteStream()
public
abstract writeStream(string $path, resource $resource, Config $config) : resource
Parameters
- $path : string
- $resource : resource
- $config : Config