TracedFilesystemAdapter
implements
Filesystem
Table of Contents
Interfaces
- Filesystem
Properties
-
$disk
: Filesystem
-
$diskName
: string
-
$telemetry
: OpenTelemetryManager
Methods
-
__call()
: mixed
-
__construct()
: mixed
-
allDirectories()
: array<string|int, mixed>
-
allFiles()
: array<string|int, mixed>
-
append()
: bool
-
copy()
: bool
-
delete()
: bool
-
deleteDirectory()
: bool
-
directories()
: array<string|int, mixed>
-
exists()
: bool
-
files()
: array<string|int, mixed>
-
get()
: string
-
getVisibility()
: string
-
lastModified()
: int
-
makeDirectory()
: bool
-
move()
: bool
-
path()
: string
-
prepend()
: bool
-
put()
: bool
-
putFile()
: mixed
-
putFileAs()
: mixed
-
readStream()
: mixed
-
setVisibility()
: bool
-
size()
: int
-
writeStream()
: bool
-
extractPath()
: string
-
traceOperation()
: mixed
$disk
private
Filesystem
$disk
$diskName
private
string
$diskName
$telemetry
private
OpenTelemetryManager
$telemetry
__call()
public
__call(mixed $method, mixed $parameters) : mixed
Parameters
-
$method
: mixed
-
-
$parameters
: mixed
-
__construct()
public
__construct(Filesystem $disk, OpenTelemetryManager $telemetry, string $diskName) : mixed
Parameters
-
$disk
: Filesystem
-
-
$telemetry
: OpenTelemetryManager
-
-
$diskName
: string
-
allDirectories()
public
allDirectories([mixed $directory = null ]) : array<string|int, mixed>
Parameters
-
$directory
: mixed
= null
-
Return values
array<string|int, mixed>
allFiles()
public
allFiles([mixed $directory = null ]) : array<string|int, mixed>
Parameters
-
$directory
: mixed
= null
-
Return values
array<string|int, mixed>
append()
public
append(mixed $path, mixed $data) : bool
Parameters
-
$path
: mixed
-
-
$data
: mixed
-
copy()
public
copy(mixed $from, mixed $to) : bool
Parameters
-
$from
: mixed
-
-
$to
: mixed
-
delete()
public
delete(mixed $paths) : bool
Parameters
-
$paths
: mixed
-
deleteDirectory()
public
deleteDirectory(mixed $directory) : bool
Parameters
-
$directory
: mixed
-
directories()
public
directories([mixed $directory = null ][, mixed $recursive = false ]) : array<string|int, mixed>
Parameters
-
$directory
: mixed
= null
-
-
$recursive
: mixed
= false
-
Return values
array<string|int, mixed>
exists()
public
exists(mixed $path) : bool
Parameters
-
$path
: mixed
-
files()
public
files([mixed $directory = null ][, mixed $recursive = false ]) : array<string|int, mixed>
Parameters
-
$directory
: mixed
= null
-
-
$recursive
: mixed
= false
-
Return values
array<string|int, mixed>
get()
public
get(mixed $path) : string
Parameters
-
$path
: mixed
-
getVisibility()
public
getVisibility(mixed $path) : string
Parameters
-
$path
: mixed
-
lastModified()
public
lastModified(mixed $path) : int
Parameters
-
$path
: mixed
-
makeDirectory()
public
makeDirectory(mixed $path) : bool
Parameters
-
$path
: mixed
-
move()
public
move(mixed $from, mixed $to) : bool
Parameters
-
$from
: mixed
-
-
$to
: mixed
-
path()
public
path(mixed $path) : string
Parameters
-
$path
: mixed
-
prepend()
public
prepend(mixed $path, mixed $data) : bool
Parameters
-
$path
: mixed
-
-
$data
: mixed
-
put()
public
put(mixed $path, mixed $contents[, mixed $options = [] ]) : bool
Parameters
-
$path
: mixed
-
-
$contents
: mixed
-
-
$options
: mixed
= []
-
putFile()
public
putFile(mixed $path[, mixed $file = null ][, mixed $options = [] ]) : mixed
Parameters
-
$path
: mixed
-
-
$file
: mixed
= null
-
-
$options
: mixed
= []
-
putFileAs()
public
putFileAs(mixed $path, mixed $file[, mixed $name = null ][, mixed $options = [] ]) : mixed
Parameters
-
$path
: mixed
-
-
$file
: mixed
-
-
$name
: mixed
= null
-
-
$options
: mixed
= []
-
readStream()
public
readStream(mixed $path) : mixed
Parameters
-
$path
: mixed
-
setVisibility()
public
setVisibility(mixed $path, mixed $visibility) : bool
Parameters
-
$path
: mixed
-
-
$visibility
: mixed
-
size()
public
size(mixed $path) : int
Parameters
-
$path
: mixed
-
writeStream()
public
writeStream(mixed $path, mixed $resource[, array<string|int, mixed> $options = [] ]) : bool
Parameters
-
$path
: mixed
-
-
$resource
: mixed
-
-
$options
: array<string|int, mixed>
= []
-
private
extractPath(string $method, array<string|int, mixed> $parameters) : string
Parameters
-
$method
: string
-
-
$parameters
: array<string|int, mixed>
-
traceOperation()
private
traceOperation(string $method, array<string|int, mixed> $parameters) : mixed
Parameters
-
$method
: string
-
-
$parameters
: array<string|int, mixed>
-