class PolicyLoader implements LoaderInterface (View source)

Properties

protected string $temporaryDirectoryPath

An absolute file path to store configuration caches in. If null no cache will be active.

Methods

__construct(YamlSource $yamlSource)

No description

void
setTemporaryDirectoryPath(string $temporaryDirectoryPath)

Set an absolute file path to store configuration caches in. If null no cache will be active.

array
load(array $packages, ApplicationContext $context)

Read configuration resources and return the final configuration array for the given configurationType

Details

__construct(YamlSource $yamlSource)

No description

Parameters

YamlSource $yamlSource

void setTemporaryDirectoryPath(string $temporaryDirectoryPath)

Set an absolute file path to store configuration caches in. If null no cache will be active.

Parameters

string $temporaryDirectoryPath

Return Value

void

array load(array $packages, ApplicationContext $context)

Read configuration resources and return the final configuration array for the given configurationType

Parameters

array $packages

An array of Package objects (indexed by package key) to consider

ApplicationContext $context

Return Value

array

The Configuration array for the current configurationType