Legend of the Green Dragon

LotgdCoreAdvertisingExtension extends ConfigurableExtension

Table of Contents

SUPPORTED_PROVIDER_TYPES  = ['adsense' => LotgdCoreAdvertisingBundleDependencyInjectionProviderAdsenseProviderConfiguration::class, 'generic' => LotgdCoreAdvertisingBundleDependencyInjectionProviderGenericProviderConfiguration::class]
$configurators  : mixed
getConfigurator()  : ProviderConfiguratorInterface
loadInternal()  : mixed
buildConfigurationForProviderType()  : mixed
configureProviderAndService()  : mixed

Constants

SUPPORTED_PROVIDER_TYPES

private mixed SUPPORTED_PROVIDER_TYPES = ['adsense' => LotgdCoreAdvertisingBundleDependencyInjectionProviderAdsenseProviderConfiguration::class, 'generic' => LotgdCoreAdvertisingBundleDependencyInjectionProviderGenericProviderConfiguration::class]

Properties

Methods

getConfigurator()

public getConfigurator(mixed $provider) : ProviderConfiguratorInterface
Parameters
$provider : mixed
Return values
ProviderConfiguratorInterface

loadInternal()

public loadInternal(array<string|int, mixed> $mergedConfig, ContainerBuilder $container) : mixed
Parameters
$mergedConfig : array<string|int, mixed>
$container : ContainerBuilder
Return values
mixed

buildConfigurationForProviderType()

private buildConfigurationForProviderType(NodeDefinition $node, mixed $provider) : mixed
Parameters
$node : NodeDefinition
$provider : mixed
Return values
mixed

configureProviderAndService()

private configureProviderAndService(ContainerBuilder $container, array<string|int, mixed> $config, bool $advertisingEnable) : mixed
Parameters
$container : ContainerBuilder
$config : array<string|int, mixed>
$advertisingEnable : bool
Return values
mixed

Search results