StringDestinationStream implements DestinationStream
FinalYes
Interfaces
Methods
- __construct() : mixed
- append() : DestinationStream
- close() : void
- content() : string
- fromResource() : DestinationStream
- isOpen() : bool
- path() : Path
Methods
__construct()
public
__construct(Path $path) : mixed
Parameters
- $path : Path
append()
public
append(string $data) : DestinationStream
Parameters
- $data : string
Return values
DestinationStreamclose()
public
close() : void
content()
public
content() : string
Return values
stringfromResource()
public
fromResource(mixed $resource) : DestinationStream
Parameters
- $resource : mixed
Return values
DestinationStreamisOpen()
public
isOpen() : bool
Return values
boolpath()
public
path() : Path