Reference
C
Class

ApiPlatform\Symfony\Bundle\DependencyInjection\ApiPlatformExtension

The extension of this bundle.

class ApiPlatform\Symfony\Bundle\DependencyInjection\ApiPlatformExtension extends Symfony\Component\HttpKernel\DependencyInjection\Extension implements Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface, Symfony\Component\DependencyInjection\Extension\ExtensionInterface, Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface
{
    public prepend(Symfony\Component\DependencyInjection\ContainerBuilder $container): null
    public load(array $configs, Symfony\Component\DependencyInjection\ContainerBuilder $container): null
    public getAnnotatedClassesToCompile(): array
    public addAnnotatedClassesToCompile(array $annotatedClasses)
    public getXsdValidationBasePath()
    public getNamespace()
    public getAlias(): string
    public getConfiguration(array $config, Symfony\Component\DependencyInjection\ContainerBuilder $container)
    protected processConfiguration(Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs): array
    public getProcessedConfigs(): array
    protected isConfigEnabled(Symfony\Component\DependencyInjection\ContainerBuilder $container, array $config): bool
}
class ApiPlatform\Symfony\Bundle\DependencyInjection\ApiPlatformExtension extends Symfony\Component\HttpKernel\DependencyInjection\Extension implements Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface, Symfony\Component\DependencyInjection\Extension\ExtensionInterface, Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface
{
    public prepend(Symfony\Component\DependencyInjection\ContainerBuilder $container): null
    public load(array $configs, Symfony\Component\DependencyInjection\ContainerBuilder $container): null
    public getAnnotatedClassesToCompile(): array
    public addAnnotatedClassesToCompile(array $annotatedClasses)
    public getXsdValidationBasePath()
    public getNamespace()
    public getAlias(): string
    public getConfiguration(array $config, Symfony\Component\DependencyInjection\ContainerBuilder $container)
    protected processConfiguration(Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs): array
    public getProcessedConfigs(): array
    protected isConfigEnabled(Symfony\Component\DependencyInjection\ContainerBuilder $container, array $config): bool
}

Methods

prepend

Allow an extension to prepend the extension configurations.

public prepend(Symfony\Component\DependencyInjection\ContainerBuilder $container): null
public prepend(Symfony\Component\DependencyInjection\ContainerBuilder $container): null

Parameters

containerSymfony\Component\DependencyInjection\ContainerBuilder

Returns

null

load

Loads a specific configuration.Loads a specific configuration.

public load(array $configs, Symfony\Component\DependencyInjection\ContainerBuilder $container): null
public load(array $configs, Symfony\Component\DependencyInjection\ContainerBuilder $container): null

Parameters

configsarray
containerSymfony\Component\DependencyInjection\ContainerBuilder

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop