StdOutDestinationStream implements DestinationStream
FinalYes
Interfaces
Methods
- __construct() : mixed
- append() : DestinationStream
- close() : void
- fromResource() : DestinationStream
- isOpen() : bool
- path() : Path
Methods
__construct()
public
__construct(Path $path[, "output"|"stderr"|"stdout" $target = 'stdout' ][, php_user_filter|null $filter = null ][, Closure|null $onClose = null ]) : mixed
Parameters
- $path : Path
- $target : "output"|"stderr"|"stdout" = 'stdout'
- $filter : php_user_filter|null = null
- $onClose : Closure|null = null
append()
public
append(string $data) : DestinationStream
Parameters
- $data : string
Return values
DestinationStreamclose()
public
close() : void
fromResource()
public
fromResource(mixed $resource) : DestinationStream
Parameters
- $resource : mixed
Return values
DestinationStreamisOpen()
public
isOpen() : bool
Return values
boolpath()
public
path() : Path