Reference
C
Class

ApiPlatform\Symfony\Bundle\ApiPlatformBundle

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)
}

Properties

name

$name
$name

extension

$extension
$extension

path

$path
$path

container

Symfony\Component\HttpKernel\Bundle\ContainerInterface $container
Symfony\Component\HttpKernel\Bundle\ContainerInterface $container

Methods

build

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

Parameters

containerSymfony\Component\DependencyInjection\ContainerBuilder

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop