use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; | use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; | ||||
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; | use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; | ||||
class CaracoleExtension extends Extension implements PrependExtensionInterface | |||||
class LcCaracoleExtension extends Extension implements PrependExtensionInterface | |||||
{ | { | ||||
public function load(array $configs, ContainerBuilder $container) | public function load(array $configs, ContainerBuilder $container) | ||||
{ | { |
namespace Lc\CaracoleBundle; | namespace Lc\CaracoleBundle; | ||||
use Lc\ShopBundle\DependencyInjection\CaracoleExtension; | |||||
use Lc\CaracoleBundle\DependencyInjection\LcCaracoleExtension; | |||||
use Symfony\Component\HttpKernel\Bundle\Bundle; | use Symfony\Component\HttpKernel\Bundle\Bundle; | ||||
class CaracoleBundle extends Bundle | |||||
class LcCaracoleBundle extends Bundle | |||||
{ | { | ||||
public function getContainerExtension() | public function getContainerExtension() | ||||
{ | { | ||||
return new CaracoleExtension(); | |||||
return new LcCaracoleExtension(); | |||||
} | } | ||||
} | } |