Flow PHP

CacheConfigBuilder

FinalYes

Methods

build()  : CacheConfig
cache()  : self
cacheDir()  : self
Sets the local filesystem cache directory explicitly, overriding the FLOW_LOCAL_FILESYSTEM_CACHE_DIR env var and the system temp fallback.
filesystemMount()  : self

Methods

build()

public build(FilesystemTable $fstab, Serializer $serializer[, TelemetryConfig|null $telemetryConfig = null ][, string $dataframeName = 'flow_dataframe' ]) : CacheConfig
Parameters
$fstab : FilesystemTable
$serializer : Serializer
$telemetryConfig : TelemetryConfig|null = null
$dataframeName : string = 'flow_dataframe'
Return values
CacheConfig

cacheDir()

Sets the local filesystem cache directory explicitly, overriding the FLOW_LOCAL_FILESYSTEM_CACHE_DIR env var and the system temp fallback.

public cacheDir(string|Path $dir) : self
Parameters
$dir : string|Path
Return values
self

filesystemMount()

public filesystemMount(string $mount) : self
Parameters
$mount : string
Return values
self
On this page

Search results