Guides
Tutorials
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
}
Allow an extension to prepend the extension configurations.
public prepend(Symfony\Component\DependencyInjection\ContainerBuilder $container): null
public prepend(Symfony\Component\DependencyInjection\ContainerBuilder $container): null
container | Symfony\Component\DependencyInjection\ContainerBuilder |
null
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
configs | array | |
container | Symfony\Component\DependencyInjection\ContainerBuilder |
null