class CoreConfigFactory

Factory for silverstripe configs

Methods

__construct(CacheFactory $cacheFactory = null)

Create factory

createRoot()

Create root application config.

createCore()

Rebuild new uncached config, which is mutable

buildYamlTransformerForPath(array|string $dirs)

No description

Details

at line 36
__construct(CacheFactory $cacheFactory = null)

Create factory

Parameters

CacheFactory $cacheFactory

at line 48
CachedConfigCollection createRoot()

Create root application config.

This will be an immutable cached config, which conditionally generates a nested "core" config.

Return Value

CachedConfigCollection

at line 78
MemoryConfigCollection createCore()

Rebuild new uncached config, which is mutable

Return Value

MemoryConfigCollection

at line 119
PrivateStaticTransformer buildStaticTransformer()

at line 132
YamlTransformer buildYamlTransformerForPath(array|string $dirs)

Parameters

array|string $dirs Base dir to load from

Return Value

YamlTransformer