Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
Add Bundle class
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois CONTE committed Dec 27, 2019
1 parent a71e7ae commit d944db0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions OdandbSimpleCorsBundle.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace Odandb\SimpleCorsBundle;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

class OdandbSimpleCorsBundle extends Bundle
{
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new DependencyInjection\Compiler\CorsConfigurationProviderPass());
}
}

0 comments on commit d944db0

Please sign in to comment.