class SilverStripeServiceConfigurationLocator implements ServiceConfigurationLocator (View source)

Use the SilverStripe configuration system to lookup config for a particular service.

Properties

protected array $configs

List of Injector configurations cached from Config in class => config format.

Methods

public
mixed
locateConfigFor(string $name)

Finds the Injector config for a named service.

protected
mixed
configFor(string $name)

Retrieves the config for a named service without performing a hierarchy walk

Details

mixed locateConfigFor(string $name)

Finds the Injector config for a named service.

Parameters

string $name

Return Value

mixed

protected mixed configFor(string $name)

Retrieves the config for a named service without performing a hierarchy walk

Parameters

string $name

Name of service

Return Value

mixed

Get config for this service