Flow PHP

Config

Read onlyYes
FinalYes

Immutable configuration that can be used to initialize many contexts.

Configuration must not be changed after it's passed to FlowContext.

Constants

CACHE_DIR_ENV  = 'FLOW_LOCAL_FILESYSTEM_CACHE_DIR'
SORT_MAX_MEMORY_ENV  = 'FLOW_SORT_MAX_MEMORY'

Properties

$cache  : CacheConfig
$sort  : SortConfig

Methods

__construct()  : mixed
builder()  : ConfigBuilder
caster()  : Caster
clock()  : ClockInterface
default()  : self
entryFactory()  : EntryFactory
filesystemStreams()  : FilesystemStreams
fstab()  : FilesystemTable
id()  : string
optimizer()  : Optimizer
serializer()  : Serializer
shouldPutInputIntoRows()  : bool

Constants

CACHE_DIR_ENV

Use CacheConfig::CACHE_DIR_ENV instead

public mixed CACHE_DIR_ENV = 'FLOW_LOCAL_FILESYSTEM_CACHE_DIR'

SORT_MAX_MEMORY_ENV

Use SortConfig::SORT_MAX_MEMORY_ENV instead

public mixed SORT_MAX_MEMORY_ENV = 'FLOW_SORT_MAX_MEMORY'

Properties

Methods

__construct()

public __construct(string $id, Serializer $serializer, ClockInterface $clock, FilesystemTable $filesystemTable, FilesystemStreams $filesystemStreams, Optimizer $optimizer, Caster $caster, bool $putInputIntoRows, EntryFactory $entryFactory, CacheConfig $cache, SortConfig $sort) : mixed
Parameters
$id : string
$serializer : Serializer
$clock : ClockInterface
$filesystemTable : FilesystemTable
$filesystemStreams : FilesystemStreams
$optimizer : Optimizer
$caster : Caster
$putInputIntoRows : bool
$entryFactory : EntryFactory
$cache : CacheConfig
$sort : SortConfig

clock()

public clock() : ClockInterface
Return values
ClockInterface

default()

public static default() : self
Return values
self

fstab()

public fstab() : FilesystemTable
Return values
FilesystemTable

id()

public id() : string
Return values
string

serializer()

public serializer() : Serializer
Return values
Serializer

shouldPutInputIntoRows()

public shouldPutInputIntoRows() : bool
Return values
bool

        
On this page

Search results