19 lines
502 B
PHP
19 lines
502 B
PHP
<?php
|
|
|
|
namespace KupShop\OrderingBundle;
|
|
|
|
use KupShop\OrderingBundle\Attachment\AttachmentInterface;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
|
|
class OrderingBundle extends Bundle
|
|
{
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
$container->registerForAutoconfiguration(AttachmentInterface::class)
|
|
->addTag('kupshop.attachment')
|
|
->setPublic(false)
|
|
->setAutowired(true);
|
|
}
|
|
}
|