PHP Class Elcodi\Plugin\CustomShippingBundle\ElcodiCustomShippingBundle

Inheritance: extends Elcodi\Bundle\CoreBundle\Abstracts\AbstractElcodiBundle, implements Elcodi\Component\Plugin\Interfaces\PluginInterface, implements Mmoreram\SymfonyBundleDependencies\DependentBundleInterface
ファイルを表示 Open project: elcodi/bamboo

Public Methods

Method Description
build ( ContainerBuilder $container ) Builds the bundle.
getBundleDependencies ( Symfony\Component\HttpKernel\KernelInterface $kernel ) : array Return all bundle dependencies.
getContainerExtension ( ) : Symfony\Component\DependencyInjection\Extension\ExtensionInterface Returns the bundle's container extension.

Method Details

build() public method

It is only ever called once when the cache is empty. This method can be overridden to register compilation passes, other extensions, ...
public build ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder A ContainerBuilder instance

getBundleDependencies() public static method

Values can be a simple bundle namespace or its instance
public static getBundleDependencies ( Symfony\Component\HttpKernel\KernelInterface $kernel ) : array
$kernel Symfony\Component\HttpKernel\KernelInterface
return array Bundle instances

getContainerExtension() public method

Returns the bundle's container extension.
public getContainerExtension ( ) : Symfony\Component\DependencyInjection\Extension\ExtensionInterface
return Symfony\Component\DependencyInjection\Extension\ExtensionInterface The container extension