for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* WellCommerce Open-Source E-Commerce Platform
*
* This file is part of the WellCommerce package.
* (c) Adam Piotrowski <[email protected]>
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\Bundle\ShipmentBundle;
use Doctrine\Common\Collections\Collection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use WellCommerce\Bundle\CoreBundle\HttpKernel\AbstractWellCommerceBundle;
use WellCommerce\Bundle\ShipmentBundle\DependencyInjection\Compiler\RegisterShipmentAdapterPass;
* Class WellCommerceShipmentBundle
* @author Adam Piotrowski <[email protected]>
final class WellCommerceShipmentBundle extends AbstractWellCommerceBundle
{
public function build(ContainerBuilder $container)
parent::build($container);
$container->addCompilerPass(new RegisterShipmentAdapterPass());
}
public static function registerBundles(Collection $bundles, string $environment)
$bundles->add(new self());