StdOutFilesystem implements Filesystem
Read onlyYes
FinalYes
Interfaces
Methods
- __construct() : mixed
- appendTo() : DestinationStream
- getSystemTmpDir() : Path
- list() : Generator<string|int, FileStatus>
- mv() : bool
- protocol() : Protocol
- readFrom() : SourceStream
- rm() : bool
- status() : FileStatus|null
- writeTo() : DestinationStream
- Open destination stream for writing, if file already exists it will be overwritten.
Methods
__construct()
public
__construct([php_user_filter|null $filter = null ]) : mixed
Parameters
- $filter : php_user_filter|null = null
appendTo()
public
appendTo(Path $path) : DestinationStream
Parameters
- $path : Path
Return values
DestinationStreamgetSystemTmpDir()
public
getSystemTmpDir() : Path
Return values
Pathlist()
public
list(Path $path[, Filter $pathFilter = new KeepAll() ]) : Generator<string|int, FileStatus>
Parameters
Return values
Generator<string|int, FileStatus>mv()
public
mv(Path $from, Path $to) : bool
Parameters
Return values
boolprotocol()
public
protocol() : Protocol
Return values
ProtocolreadFrom()
public
readFrom(Path $path) : SourceStream
Parameters
- $path : Path
Return values
SourceStreamrm()
public
rm(Path $path) : bool
Parameters
- $path : Path
Return values
boolstatus()
public
status(Path $path) : FileStatus|null
Parameters
- $path : Path
Return values
FileStatus|nullwriteTo()
Open destination stream for writing, if file already exists it will be overwritten.
public
writeTo(Path $path) : DestinationStream
Parameters
- $path : Path