Flow PHP

FilesSink

FinalYes

Constants

FLOW_TMP_FILE_PREFIX  : string = '._flow_php_tmp.'

Methods

__construct()  : mixed
abandon()  : void
openStreams()  : Generator<string|int, DestinationStream>
publish()  : void
touched()  : bool
writeTo()  : DestinationStream

Constants

FLOW_TMP_FILE_PREFIX

public string FLOW_TMP_FILE_PREFIX = '._flow_php_tmp.'

Methods

__construct()

public __construct(Filesystem $filesystem, Path $destination, SaveMode $saveMode) : mixed
Parameters
$filesystem : Filesystem
$destination : Path
$saveMode : SaveMode

openStreams()

public openStreams() : Generator<string|int, DestinationStream>
Return values
Generator<string|int, DestinationStream>

touched()

public touched([array<string|int, Partition$partitions = [] ]) : bool
Parameters
$partitions : array<string|int, Partition> = []
Return values
bool

writeTo()

public writeTo([array<string|int, Partition$partitions = [] ]) : DestinationStream
Parameters
$partitions : array<string|int, Partition> = []
Return values
DestinationStream
On this page

Search results