References ApiPlatformExtension
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): null
    public getXsdValidationBasePath(): string|false
    public getNamespace(): string
    public getAlias(): string
    public getConfiguration(array $config, Symfony\Component\DependencyInjection\ContainerBuilder $container): Symfony\Component\Config\Definition\ConfigurationInterface
    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

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

Parameters

configsarray
containerSymfony\Component\DependencyInjection\ContainerBuilder

Returns

null

Made with love by

Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.

Learn more

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop