Guides
Tutorials
The Symfony bundle.
class ApiPlatform\Symfony\Bundle\ApiPlatformBundle extends Symfony\Component\HttpKernel\Bundle\Bundle implements Symfony\Component\DependencyInjection\ContainerAwareInterface, Symfony\Component\HttpKernel\Bundle\BundleInterface
{
public build(Symfony\Component\DependencyInjection\ContainerBuilder $container): null
public boot()
public shutdown()
public getContainerExtension(): Symfony\Component\DependencyInjection\Extension\ExtensionInterface
public getNamespace(): string
public getPath(): string
public getName(): string
public registerCommands(Symfony\Component\Console\Application $application)
protected getContainerExtensionClass(): string
protected createContainerExtension(): Symfony\Component\DependencyInjection\Extension\ExtensionInterface
public setContainer(null|Symfony\Component\DependencyInjection\ContainerInterface $container)
}
class ApiPlatform\Symfony\Bundle\ApiPlatformBundle extends Symfony\Component\HttpKernel\Bundle\Bundle implements Symfony\Component\DependencyInjection\ContainerAwareInterface, Symfony\Component\HttpKernel\Bundle\BundleInterface
{
public build(Symfony\Component\DependencyInjection\ContainerBuilder $container): null
public boot()
public shutdown()
public getContainerExtension(): Symfony\Component\DependencyInjection\Extension\ExtensionInterface
public getNamespace(): string
public getPath(): string
public getName(): string
public registerCommands(Symfony\Component\Console\Application $application)
protected getContainerExtensionClass(): string
protected createContainerExtension(): Symfony\Component\DependencyInjection\Extension\ExtensionInterface
public setContainer(null|Symfony\Component\DependencyInjection\ContainerInterface $container)
}
$name
$name
$extension
$extension
$path
$path
Symfony\Component\HttpKernel\Bundle\ContainerInterface $container
Symfony\Component\HttpKernel\Bundle\ContainerInterface $container
Builds the bundle.It is only ever called once when the cache is empty.This method can be overridden to register compilation passes, other extensions, ...
public build(Symfony\Component\DependencyInjection\ContainerBuilder $container): null
public build(Symfony\Component\DependencyInjection\ContainerBuilder $container): null
container | Symfony\Component\DependencyInjection\ContainerBuilder |
null