\Pydio\Access\Core\StreamMetadataCachingStream

Stream decorator that can cache previously read bytes from a sequentially read stream.

Summary

Methods
Properties
Constants
__construct()
getSize()
getLastModifiedTime()
isFile()
getContents()
stat()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$stat
$node
$uri
$contentFilters
$path
$cacheOptions
N/A

Properties

$stat

$stat : array

Type

array — stat

$uri

$uri : string

Type

string — uri

$contentFilters

$contentFilters : array

Type

array — contentFilters

$path

$path : string

Type

string — path

$cacheOptions

$cacheOptions : array

Type

array — statCacheId

Methods

__construct()

__construct(\GuzzleHttp\Stream\StreamInterface  $stream, \Pydio\Access\Core\Model\AJXP_Node  $node, \GuzzleHttp\Stream\StreamInterface  $target = null) 

We will treat the buffer object as the body of the stream

Parameters

\GuzzleHttp\Stream\StreamInterface $stream

Stream to cache

\Pydio\Access\Core\Model\AJXP_Node $node
\GuzzleHttp\Stream\StreamInterface $target

getSize()

getSize() : integer|null

Returns

integer|null

getLastModifiedTime()

getLastModifiedTime() : integer|null

Returns

integer|null

isFile()

isFile() : boolean|null

Returns

boolean|null

getContents()

getContents() : string

Returns

string

stat()

stat() : boolean|mixed

Returns

boolean|mixed