Documentation

StreamedWritingTrait

Table of Contents

update()  : mixed
updateStream()  : mixed
Update a file using a stream.
write()  : mixed
writeStream()  : mixed
Write using a stream.
stream()  : mixed
Stream fallback delegator.

Methods

update()

public abstract update(mixed $pash, mixed $contents, Config $config) : mixed
Parameters
$pash : mixed
$contents : mixed
$config : Config
Return values
mixed

updateStream()

Update a file using a stream.

public updateStream(string $path, resource $resource, Config $config) : mixed
Parameters
$path : string
$resource : resource
$config : Config

Config object or visibility setting

Return values
mixed

false of file metadata

write()

public abstract write(mixed $pash, mixed $contents, Config $config) : mixed
Parameters
$pash : mixed
$contents : mixed
$config : Config
Return values
mixed

writeStream()

Write using a stream.

public writeStream(string $path, resource $resource, Config $config) : mixed
Parameters
$path : string
$resource : resource
$config : Config
Return values
mixed

false or file metadata

stream()

Stream fallback delegator.

protected stream(string $path, resource $resource, Config $config, string $fallback) : mixed
Parameters
$path : string
$resource : resource
$config : Config
$fallback : string
Return values
mixed

fallback result

Search results